C# Class SessionManagerUniversal.UI.Network.NetworkConnectionAdapter

Allows users of NetworkConnection to register to receive event callbacks without having their classes inherit directly from NetworkConnectionListener
Inheritance: HoloToolkit.Sharing.NetworkConnectionListener
Mostra file Open project: Microsoft/HoloToolkit Class Usage Examples

Public Methods

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

Method Details

NetworkConnectionAdapter() public method

public NetworkConnectionAdapter ( ) : HoloToolkit.Sharing
return HoloToolkit.Sharing

OnConnectFailed() public method

public OnConnectFailed ( NetworkConnection connection ) : void
connection HoloToolkit.Sharing.NetworkConnection
return void

OnConnected() public method

public OnConnected ( NetworkConnection connection ) : void
connection HoloToolkit.Sharing.NetworkConnection
return void

OnDisconnected() public method

public OnDisconnected ( NetworkConnection connection ) : void
connection HoloToolkit.Sharing.NetworkConnection
return void

OnMessageReceived() public method

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