C# Class Gwupe.Cloud.Messaging.CoupledWebSocketMessageHandler

Inheritance: IWebSocketMessageHandler
Mostra file Open project: gwupe/Gwupe Class Usage Examples

Public Methods

Method Description
CoupledWebSocketMessageHandler ( CoupledConnection coupledConnection ) : System
OnClose ( WebSocketConnection aConnection, int aCloseCode, string aCloseReason, bool aClosedByPeer ) : void
OnOpen ( WebSocketConnection aConnection ) : void
ProcessMessage ( string message ) : void
SendInit ( String uniqueId ) : void

Method Details

CoupledWebSocketMessageHandler() public method

public CoupledWebSocketMessageHandler ( CoupledConnection coupledConnection ) : System
coupledConnection Gwupe.Cloud.Communication.CoupledConnection
return System

OnClose() public method

public OnClose ( WebSocketConnection aConnection, int aCloseCode, string aCloseReason, bool aClosedByPeer ) : void
aConnection Bauglir.Ex.WebSocketConnection
aCloseCode int
aCloseReason string
aClosedByPeer bool
return void

OnOpen() public method

public OnOpen ( WebSocketConnection aConnection ) : void
aConnection Bauglir.Ex.WebSocketConnection
return void

ProcessMessage() public method

public ProcessMessage ( string message ) : void
message string
return void

SendInit() public method

public SendInit ( String uniqueId ) : void
uniqueId String
return void