Click or drag to resize

ServerChannelExecute Method (String, String, LayoutManager)

Starts the execution of this ServerChannel using the supplied arguments.

Namespace:  OBCOM.NetClient
Assembly:  OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax
public void Execute(
	string serverName,
	string netserURI,
	LayoutManager layouts
)

Parameters

serverName
Type: SystemString
The name of the ServerChannel.
netserURI
Type: SystemString
The OBCOM NetServer URI.
layouts
Type: OBCOM.NetClientLayoutManager
The LayoutManager used to download Layouts.
Remarks

This method connects to OBCOM NetServer and sends a registration message with the name of this server. It then waits for messages to arrive and dispatches them to the apropiate "ProcessXXXX" methods.

This method returns to its caller when this ServerChannel has been halted by a System Operator, when the ServerLink.Stop method is called, or when an unrecoverable error occurs. To halt this server, a System Operator needs to execute a "halt server" command in an NetServer Console.

The serverName argument is the name of this Server, which must be registered with OBCOM NetServer.

The netserURI argument provides the network address (computer name or IP number) and port of the NetServer as "IP,Port".

See Also