|
AMPS C# Client
5.3.4.0
AMPS C# Client for .NET
|
Interface used to manage all subscriptions in AMPS. This includes: subscribing, unsubscribing and resubscribing. More...
Inheritance diagram for AMPS.Client.SubscriptionManager:Public Member Functions | |
| void | subscribe (MessageHandler messageHandler, Message message) |
| Subscribe to a message using the provided message handler and message. More... | |
| void | unsubscribe (CommandId subId) |
| Unsubscribe from a subscription using the provided subscription ID. More... | |
| void | clear () |
| Clear all subscriptions. More... | |
| void | resubscribe (Client client) |
| Resubscribe to subscriptions using the provided client. More... | |
| void | setFailedResubscribeHandler (FailedResubscribeHandler failureHandler) |
| Set the handler for failed resubscribe attempts. More... | |
| FailedResubscribeHandler | getFailedResubscribeHandler () |
| Get the handler for failed resubscribe attempts. More... | |
Interface used to manage all subscriptions in AMPS. This includes: subscribing, unsubscribing and resubscribing.
| void AMPS.Client.SubscriptionManager.clear | ( | ) |
Clear all subscriptions.
Implemented in AMPS.Client.MemorySubscriptionManager, and AMPS.Client.DefaultSubscriptionManager.
| FailedResubscribeHandler AMPS.Client.SubscriptionManager.getFailedResubscribeHandler | ( | ) |
Get the handler for failed resubscribe attempts.
Implemented in AMPS.Client.MemorySubscriptionManager, and AMPS.Client.DefaultSubscriptionManager.
| void AMPS.Client.SubscriptionManager.resubscribe | ( | Client | client | ) |
Resubscribe to subscriptions using the provided client.
| client | The client to use for resubscribing. |
Implemented in AMPS.Client.MemorySubscriptionManager, and AMPS.Client.DefaultSubscriptionManager.
| void AMPS.Client.SubscriptionManager.setFailedResubscribeHandler | ( | FailedResubscribeHandler | failureHandler | ) |
Set the handler for failed resubscribe attempts.
| failureHandler | The handler for failed resubscribe attempts. |
Implemented in AMPS.Client.MemorySubscriptionManager, and AMPS.Client.DefaultSubscriptionManager.
| void AMPS.Client.SubscriptionManager.subscribe | ( | MessageHandler | messageHandler, |
| Message | message | ||
| ) |
Subscribe to a message using the provided message handler and message.
| messageHandler | The message handler to handle incoming messages. |
| message | The message to subscribe to. |
Implemented in AMPS.Client.MemorySubscriptionManager, and AMPS.Client.DefaultSubscriptionManager.
| void AMPS.Client.SubscriptionManager.unsubscribe | ( | CommandId | subId | ) |
Unsubscribe from a subscription using the provided subscription ID.
| subId |
Implemented in AMPS.Client.MemorySubscriptionManager, and AMPS.Client.DefaultSubscriptionManager.