| ServerChannelAddRequestHandler Method |
Registers a handler identified by the supplied
name.
Namespace:
OBCOM.NetSwitchLib.Servers
Assembly:
OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax public void AddRequestHandler(
string name,
RequestHandler handler
)
Public Sub AddRequestHandler (
name As String,
handler As RequestHandler
)
Parameters
- name
- Type: SystemString
The name of the request handler to be registered.
- handler
- Type: OBCOM.NetSwitchLib.ServersRequestHandler
The request handler called when a request message is received.
Exceptions See Also