C# Class Ultralight.Listeners.StompWebsocketClient

Wraps a client connecting over websockets
Inheritance: IStompClient
Mostra file Open project: ernstnaezer/ultralight Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Closes this instance.

CompareTo ( IStompClient other ) : int
Equals ( StompWebsocketClient other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Send ( StompMessage message ) : void

Sends a message to the client

StompWebsocketClient ( IWebSocketConnection socket ) : System

Initializes a new instance of the StompWebsocketClient class.

Method Details

Close() public method

Closes this instance.
public Close ( ) : void
return void

CompareTo() public method

public CompareTo ( IStompClient other ) : int
other IStompClient
return int

Equals() public method

public Equals ( StompWebsocketClient other ) : bool
other StompWebsocketClient
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Send() public method

Sends a message to the client
public Send ( StompMessage message ) : void
message StompMessage
return void

StompWebsocketClient() public method

Initializes a new instance of the StompWebsocketClient class.
public StompWebsocketClient ( IWebSocketConnection socket ) : System
socket IWebSocketConnection The socket.
return System