Click or drag to resize

ClientChannelEnableMulticast Method

Enables the reception of multicast messages identified by name. Multicast messages are generated when particular event occurs (e.g., the price of a stock has reached a certain limit). When a multicast message arrives, the supplied handler is called.

Namespace:  OBCOM.NetSwitchLib.Clients
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public void EnableMulticast(
	string name,
	MulticastHandler handler
)

Parameters

name
Type: SystemString
The name of the multicast message.
handler
Type: OBCOM.NetSwitchLib.UtilsMulticastHandler
The method called when the multicast message is received.
Exceptions
ExceptionCondition
ArgumentNullException An argument is null or empty.
Exception An error occured while enabling the multicast.
See Also