Diffusion .NET API
5.9.24
|
Callback interface for the topic management feature. More...
Public Member Functions | |
void | OnMessageFromClient (SessionId client, ITopicPathSelector topic, IContent content, IReceiveContext context) |
Receives content sent from a client via a topic. More... | |
void | OnTopicAdded (ITopicPathSelector topic) |
A topic has been added. More... | |
void | OnTopicAddFailed (string name, string reason) |
An attempt to add a topic has failed. More... | |
void | OnPublishFailed (ITopicPathSelector topic, IContent content, ITopicSendOptions sendOptions, string reason) |
An attempt to publish to a topic failed. More... | |
void | OnSendFailed (ITopicPathSelector topic, IClientEndpoint clients, IContent content, ITopicSendOptions sendOptions, string reason) |
An attempt to send failed. More... | |
Callback interface for the topic management feature.
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicManagementHandler.OnMessageFromClient | ( | SessionId | client, |
ITopicPathSelector | topic, | ||
IContent | content, | ||
IReceiveContext | context | ||
) |
Receives content sent from a client via a topic.
Only content sent to topics with no topic data will be routed in this way. All others will have been discarded at the server.
client | Identifies the client that sent the content. |
topic | The topic that the content was sent on. |
content | The content sent by the client. |
context | The context associated with the content. |
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicManagementHandler.OnPublishFailed | ( | ITopicPathSelector | topic, |
IContent | content, | ||
ITopicSendOptions | sendOptions, | ||
string | reason | ||
) |
An attempt to publish to a topic failed.
topic | The topic upon which publication failed. |
content | The content that was sent with the publish request. |
sendOptions | The options sent with the publish request. |
reason | The reason for failure. |
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicManagementHandler.OnSendFailed | ( | ITopicPathSelector | topic, |
IClientEndpoint | clients, | ||
IContent | content, | ||
ITopicSendOptions | sendOptions, | ||
string | reason | ||
) |
An attempt to send failed.
topic | The topic upon which the send failed. |
clients | The client endpoints that the request was sent to. |
content | The content that was sent with the send request. |
sendOptions | The options sent with the sent request. |
reason | The reason for failure. |
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicManagementHandler.OnTopicAdded | ( | ITopicPathSelector | topic | ) |
A topic has been added.
topic | The topic that was added. |
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicManagementHandler.OnTopicAddFailed | ( | string | name, |
string | reason | ||
) |
An attempt to add a topic has failed.
name | ~The topic name as supplied to the add request. |
reason | The reason for failure. |