Click or drag to resize

ServerChannelRequestReceived Method

Called after a request message has been received and before it is processed by a RequestHandler method.

Namespace:  OBCOM.NetSwitchLib.Servers
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
protected virtual void RequestReceived(
	RequestEvent request
)

Parameters

request
Type: OBCOM.NetSwitchLib.ServersRequestEvent
Describes the request event.
Exceptions
ExceptionCondition
ArgumentNullExceptionrequest is null.
Remarks

This method should execute initialization logic common to all requests, such as starting a database transaction.

This method is meant to be overridden by classes that extend ServerChannel. This default implementation does nothing.

See Also