Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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.
|
public Send ( string address, string message ) : void | ||
address | string | The address. |
message | string | The message. |
return | void |
public Send ( string address, string message, string receiptId ) : void | ||
address | string | The address. |
message | string | The message. |
receiptId | string | The receipt id. |
return | void |
public StompClient ( ITransport transport ) : System | ||
transport | ITransport | The transport channel. |
return | System |
public Subscribe ( string destination ) : void | ||
destination | string | The destination. |
return | void |
public Unsubscribe ( string destination ) : void | ||
destination | string | The destination. |
return | void |