Indy 9
|
TIdIPMCastClient = class(TIdIPMCastBase)
TIdIPMCastClient implements abstract methods from the ancestor class, and provides additional methods and events that allow use of multiple bindings and an event handler for datagram receipt. TIdIPMCastClient also provides a ListenerThread and an optional threaded read capability for datagram receipt.
property Active;
property Bindings: TIdSocketHandles;
property BufferSize: Integer;
property DefaultPort: integer;
property MulticastGroup;
MulticastGroup must contain an IP address acceptble to IsValidMulticastGroup, or an exception can be raised when creating, accessing, or releasing the Bindings used by the multicast client.
property ThreadedEvent: boolean;
The default value for ThreadedEvent is DEF_IMP_THREADEDEVENT as assigned in the Create constructor.
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
property OnIPMCastRead: TIPMCastReadEvent;
Applications must assign a procedure to the TIPMCastReadEvent event handler to allow responding to the event notification. The event handler can access arguments that include: