C# Class Ultralight.StompQueue

Stomp message queue
Exibir arquivo Open project: ernstnaezer/ultralight Class Usage Examples

Public Methods

Method Description
AddClient ( IStompClient client, string subscriptionId ) : void

Adds the client.

Publish ( string message ) : void

Publishes the specified message to all subscribed clients.

RemoveClient ( IStompClient client ) : void

Removes the client.

StompQueue ( string address, IMessageStore store ) : System

Initializes a new instance of the StompQueue class.

Private Methods

Method Description
SendMessage ( IStompClient client, string body, System.Guid messageId, string subscriptionId ) : void

Method Details

AddClient() public method

Adds the client.
public AddClient ( IStompClient client, string subscriptionId ) : void
client IStompClient The client.
subscriptionId string The subscription id.
return void

Publish() public method

Publishes the specified message to all subscribed clients.
public Publish ( string message ) : void
message string The message.
return void

RemoveClient() public method

Removes the client.
public RemoveClient ( IStompClient client ) : void
client IStompClient The client.
return void

StompQueue() public method

Initializes a new instance of the StompQueue class.
public StompQueue ( string address, IMessageStore store ) : System
address string The address.
store IMessageStore The message store.
return System