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
Afficher le fichier Open project: OpenHID/InteractivePaint Class Usage Examples

Méthodes publiques

Méthode Description
NetworkConnectionAdapter ( )
OnConnectFailed ( NetworkConnection connection ) : void
OnConnected ( NetworkConnection connection ) : void
OnDisconnected ( NetworkConnection connection ) : void
OnMessageReceived ( NetworkConnection connection, NetworkInMessage message ) : void

Method Details

NetworkConnectionAdapter() public méthode

OnConnectFailed() public méthode

public OnConnectFailed ( NetworkConnection connection ) : void
connection NetworkConnection
Résultat void

OnConnected() public méthode

public OnConnected ( NetworkConnection connection ) : void
connection NetworkConnection
Résultat void

OnDisconnected() public méthode

public OnDisconnected ( NetworkConnection connection ) : void
connection NetworkConnection
Résultat void

OnMessageReceived() public méthode

public OnMessageReceived ( NetworkConnection connection, NetworkInMessage message ) : void
connection NetworkConnection
message NetworkInMessage
Résultat void