SubscribeConnectionLost

ISubscription ISystem.SubscribeConnectionLost(ConnectionLostHandler handler)

Subscribes a callback to be executed when the connection to a discovered top-controller (or one of its sub-controllers) is lost.

Parameters

handler – Delegate to be invoked when connection is lost.

Returns

ISubscription – An ISubscription for the callback.

Throws

NullArgumentException – Null reference was passed.