C# Class HoloToolkit.Sharing.NetworkConnectionAdapter

Allows users of NetworkConnection to register to receive event callbacks without having their classes inherit directly from NetworkConnectionListener
Inheritance: NetworkConnectionListener
Mostrar archivo Open project: OpenHID/InteractivePaint Class Usage Examples

Public Methods

Method Description
NetworkConnectionAdapter ( )
OnConnectFailed ( NetworkConnection connection ) : void
OnConnected ( NetworkConnection connection ) : void
OnDisconnected ( NetworkConnection connection ) : void
OnMessageReceived ( NetworkConnection connection, NetworkInMessage message ) : void

Method Details

NetworkConnectionAdapter() public method

OnConnectFailed() public method

public OnConnectFailed ( NetworkConnection connection ) : void
connection NetworkConnection
return void

OnConnected() public method

public OnConnected ( NetworkConnection connection ) : void
connection NetworkConnection
return void

OnDisconnected() public method

public OnDisconnected ( NetworkConnection connection ) : void
connection NetworkConnection
return void

OnMessageReceived() public method

public OnMessageReceived ( NetworkConnection connection, NetworkInMessage message ) : void
connection NetworkConnection
message NetworkInMessage
return void