C# 클래스 Ultralight.Client.StompClient

Ultra simple STOMP client with command buffering support
상속: IDisposable
파일 보기 프로젝트 열기: ernstnaezer/ultralight 1 사용 예제들

공개 메소드들

메소드 설명
Connect ( ) : void

Connects to the server on the specified address.

Disconnect ( ) : void

Disconnects this instance.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Send ( string address, string message ) : void

Sends a message to the specified address.

Send ( string address, string message, string receiptId ) : void

Sends a message to the specified address.

StompClient ( ITransport transport ) : System

Initializes a new instance of the StompClient class.

Subscribe ( string destination ) : void

Subscribes to the specified destination.

Unsubscribe ( string destination ) : void

Unsubscribes the specified destination.

비공개 메소드들

메소드 설명
ExecuteWhenConnected ( System.Action command ) : void

Executes the given action when the client is connected to the server, otherwise store it for later use.

HandleMessage ( StompMessage message ) : void

Dispatches the given message to a registerd message consumer.

OnStompConnected ( StompMessage obj ) : void

Called when [connected] received.

메소드 상세

Connect() 공개 메소드

Connects to the server on the specified address.
public Connect ( ) : void
리턴 void

Disconnect() 공개 메소드

Disconnects this instance.
public Disconnect ( ) : void
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Send() 공개 메소드

Sends a message to the specified address.
public Send ( string address, string message ) : void
address string The address.
message string The message.
리턴 void

Send() 공개 메소드

Sends a message to the specified address.
public Send ( string address, string message, string receiptId ) : void
address string The address.
message string The message.
receiptId string The receipt id.
리턴 void

StompClient() 공개 메소드

Initializes a new instance of the StompClient class.
public StompClient ( ITransport transport ) : System
transport ITransport The transport channel.
리턴 System

Subscribe() 공개 메소드

Subscribes to the specified destination.
public Subscribe ( string destination ) : void
destination string The destination.
리턴 void

Unsubscribe() 공개 메소드

Unsubscribes the specified destination.
public Unsubscribe ( string destination ) : void
destination string The destination.
리턴 void