ClientChannelCreate Method (String, String, LayoutManager, ClientListener) |
Creates a new ClientChannel with supplied arguments.
Namespace:
OBCOM.NetClient
Assembly:
OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax public static ClientChannel Create(
string channelName,
string netserURI,
LayoutManager layouts,
ClientListener listener
)
Public Shared Function Create (
channelName As String,
netserURI As String,
layouts As LayoutManager,
listener As ClientListener
) As ClientChannel
Parameters
- channelName
- Type: SystemString
The name of the new ClientChannel. - netserURI
- Type: SystemString
The address and port of OBCOM NetServer. - layouts
- Type: OBCOM.NetClientLayoutManager
The LayoutManager to download Layouts. - listener
- Type: OBCOM.NetClientClientListener
The listener of ClientChannel events.
Return Value
Type:
ClientChannelThe new ClientChannel instance.
Remarks The format of thenetserURI argument must be
"IP,Port", where IP is the IP address or host name of the
NetServer, and Port is the port number.
The Layouts arguments provides a LayoutManager used
to download and cache message layouts.
The listener argument is optional (can be
null).
See Also