ServerChannelEnableMulticast Method (String, MulticastListener) |
Enables the reception of multicast messages identified by the specified
name and supplied listener.
Namespace:
OBCOM.NetClient
Assembly:
OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax public void EnableMulticast(
string name,
MulticastListener listener
)
Public Sub EnableMulticast (
name As String,
listener As MulticastListener
)
Parameters
- name
- Type: SystemString
The name of the multicast messages to enable.
- listener
- Type: OBCOM.NetClientMulticastListener
The listener to be called when the multicast message arrives.
Remarks Multicast messages are generated by OBCOM NetServer when
particular event occurs (e.g., the price of a stock has reached a
certain limit).
When a multicast message arrives, the ProcessMulticast(String, Message) method of this ServerChannel will be called.
The name argument has the following format:
with an optional
. If no
is specified, the OBCOM NetServer
Local
Host name value will be used. The
is
requiered and has a maximum length of 10 chars.
See Also