com.onlineobject.objectnet Namespace

NetworkTransport..::..OnServerRestarted Method

Sets the action to be invoked when a server restart was detected by client.

Namespace:  com.onlineobject.objectnet
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public void OnServerRestarted(

	Action<IChannel> onServerRestarted

)

Parameters

onServerRestarted
Type: Action<(Of <(<'IChannel>)>)>
The action to be invoked when a server restart was detected.