![]() |
Diffusion .NET Classic API - Core and Common
5.9.4
|
This class is responsible for the connection attempts to the Diffusion server. More...
Public Member Functions | |
DiffusionConnectionService (TClient client) | |
Constructor. More... | |
bool | HandleTopicMessage (IMessageSource source, ITopicMessage message) |
Handles a message received from an IMessageSource. This will handle an incoming message from a specified source. More... | |
void | Connect () |
Attempts to establish a connection to a Diffusion server. More... | |
void | AddServerConnectionListener (IServerConnectionListener listener) |
Adds a server connection listener. More... | |
void | Reset () |
Performs a 'reset' of connector indices, etc. More... | |
void | SetMaximumPacketSize (int size) |
Set the maximum socket buffer size (both input and output). More... | |
void | SetPingListener (IServerPingResponseListener listener) |
Set the ping message listener. More... | |
void | SetAckListener (IServerAckListener listener) |
Set the acknowledgement message listener. More... | |
void | SetAckTimeout (long timeout) |
Set the acknowledgement message timeout. More... | |
void | SetAutoAcknowledging (bool autoAcknowledge) |
Determines whether acknowledgement messages are responded to automatically. More... | |
void | SetConnectionDetails (IConnectionDetails connectionDetails) |
Sets the connection details. More... | |
void | SetCredentials (V4Credentials credentials) |
Sets the credentials. More... | |
bool | IsLastConnector () |
Returns whether the active connector is the last in the list of connectors. More... | |
IServiceTopicHandler | CreateServiceTopicHandler (IDiffusionClientConnector client, ITopicMessage message, IServiceTopicListener listener) |
Creates a handler object for a 'service' topic. This would be called in response to receiving an ITopicMessage.IsServiceLoad message from a service topic as a result of subscribing to it. Note that no other messages would be received from a service topic other than via the specified IServiceTopicListener. More... | |
IPagedTopicHandler | CreatePagedTopicHandler (ITopicMessage message, IPagedTopicListener listener) |
Adds a handler object for a 'paged' Topic. This would be called in response to receiving an ITopicMessage.IsPagedLoad message from a paged topic as a result of subscribing to it. Note that no other messages would be received from a paged topic until the returned handler is used to IPagedTopicHandler.Open( int, int ) the topic. More... | |
ITopicNotifyTopicHandler | CreateTopicNotifyTopicHandler (IDiffusionClientConnector client, ITopicMessage message, ITopicNotifyTopicListener listener) |
Create a topic notify handler. More... | |
void | SetActiveTransport () |
Helper method to set the active transport (if possible) More... | |
void | SubscribeToExternalEvents () |
Method to allow external classes to subscribe to the various events. More... | |
void | UnsubscribeFromExternalEvents () |
Method to allow external classes to unsubscribe from the various events. More... | |
void | ServerConnected (IDiffusionClientConnector connector) |
Notification of connection. This is called when a connection to a server is established. More... | |
void | ServerConnectionAttemptFailed (IDiffusionClientConnector connector, ServerClosedEventArgs args) |
Notification of a failed connection attempt. The reason for the failure can be established by checking the state of the connection using IDiffusionClientConnector.State. More... | |
void | ServerTopicStatusChanged (IDiffusionClientConnector connector, string topicName, TopicStatus statusType) |
Notification that the status for a topic that was subscribed to has changed. More... | |
void | ServerRejectedCredentials (IDiffusionClientConnector connector, V4Credentials credentials) |
Notification of rejected credentials from the server. More... | |
void | ServerDisconnected (IDiffusionClientConnector connector, ServerClosedEventArgs args) |
Notification of disconnection. The reason for the disconnection can be established by checking the state of the connection using IDiffusionClientConnector.State. More... | |
void | RaiseServerPingReceivedEvent (MessageImpl message, IDiffusionClientConnector connector) |
Raise the 'server ping received' message event. More... | |
void | RaisePingResponseReceivedEvent (MessageImpl message, IDiffusionClientConnector connector) |
Raise the ping response received message event. More... | |
void | RaiseCredentialsRejectedEvent (MessageImpl message, IDiffusionClientConnector connector) |
Raise the credentials rejected message event. More... | |
void | RaiseTopicMessageReceivedEvent (TopicMessageImpl message, IDiffusionClientConnector connector) |
Raise the topic message received event. More... | |
void | RaiseTopicStatusChangedEvent (TopicStatusMessage message, IDiffusionClientConnector connector) |
Raise the topic status changed event. More... | |
void | RaiseServerConnectedEvent (IDiffusionClientConnector connector) |
Raise the server connected event. More... | |
void | RaiseServerConnectionAttemptFailedEvent (ServerClosedEventArgs args, IDiffusionClientConnector connector) |
Raise the server connection failure event. More... | |
void | RaiseServerDisconnectedEvent (ServerClosedEventArgs args, IDiffusionClientConnector connector) |
Raise the server disconnected event. More... | |
void | RaiseServerRejectedCredentialsEvent (V4Credentials credentials, IDiffusionClientConnector connector) |
Raise the server rejected credentials event. More... | |
void | RaiseMessageAcknowledgedEvent (TopicMessageImpl message, IDiffusionClientConnector connector) |
Raise the message acknowledged event. More... | |
void | RaiseMessageNotAcknowledgedEvent (TopicMessageImpl message, IDiffusionClientConnector connector) |
Raise the message not acknowledged event. More... | |
Properties | |
TClient | Client [get, set] |
Get the client object. More... | |
int | MaxPacketSize [get, set] |
Get/set the maximum socket buffer size. More... | |
IDiffusionClientConnector | ActiveTransport [get, set] |
Get/set the active transport. More... | |
IDiffusionClientTcpConnection | ActiveTransportBase [get] |
Get the active transport base. More... | |
IServerDetails | ActiveServerDetails [get] |
Returns the active set of server details. More... | |
ServerDetailsFactory | ServerDetailsList [get] |
Gets the server details factory object. More... | |
IConnectionDetails | ConnectionDetails [get, set] |
Get/set the connection details. More... | |
ReadOnlyCollection < IServerConnectionListener > | ServerConnectionListeners [get, set] |
Get/set the default message listener. More... | |
IServerPingResponseListener | PingListener [get, set] |
Get/set the ping message listener. More... | |
IServerAckListener | AckListener [get, set] |
Get/set the acknowledgement message listener. More... | |
long | AckTimeout [get, set] |
Get/set the acknowledgement message timeout. More... | |
bool | IsAutoAcknowledging [get, set] |
Gets/sets whether reponses to 'ack' messages are automatic. More... | |
IDiffusionReconnector | Reconnector [get, set] |
Get/set the 'subscriber' to the connection calls. More... | |
bool | StopConnectionService [get, set] |
Flag to request that the connection service stops when it has finished its most recent connection attempt. More... | |
bool | IsRunning [get, set] |
Indicates whether the service is running. More... | |
Dictionary< ITopicListener, List< TopicSet > > | TopicListeners [get, set] |
Get/set the topic listener dictionary object. More... | |
ConcurrentBag< TopicListenerImpl > | ActionListeners [get, set] |
Get/set the event listener dictionary object. More... | |
List< ServiceTopicHandlerImpl > | ServiceTopicHandlers [get, set] |
Get/set the service topic handlers. More... | |
List< PagedTopicHandlerImpl > | PagedTopicHandlers [get, set] |
Get/set the paged topic handlers. More... | |
List< TopicNotifyTopicHandlerImpl > | NotifyTopicHandlers [get, set] |
Get/set the notify topic handlers. More... | |
bool | RestoreState [get, set] |
Indicates whether to attempt to restore state with an accordingly-configured Diffusion server upon loss of connection and subsequent reconnection. More... | |
ConnectionCapabilities | Capabilities [get, set] |
Get/set the connection capabilities. More... | |
![]() | |
bool | RestoreState [get, set] |
Indicates whether to attempt to restore state with an accordingly-configured Diffusion server upon loss of connection and subsequent reconnection. More... | |
Events | |
EventHandler < ServerDetailsEventArgs > | ConnectionDetailsAcquired |
The event which is fired when a set of server details is acquired from the list. More... | |
EventHandler< EventArgs > | ConnectionServiceStopped |
The event raised when the connection service is stopped. More... | |
EventHandler< MessageEventArgs < TopicMessageImpl > > | TopicMessageReceived |
The event raised when a topic message is received from the Diffusion server. More... | |
EventHandler< MessageEventArgs < TopicStatusMessage > > | TopicStatusChanged |
The event raised when the status of a topic is changed. More... | |
EventHandler< MessageEventArgs < ClientPingMessageImpl > > | ServerPingReceived |
The event raised when a ping is received from the server. More... | |
EventHandler< MessageEventArgs < ServerPingMessageImpl > > | PingResponseReceived |
The event raised when a ping message is received from the Diffusion server. More... | |
EventHandler< MessageEventArgs < CredentialsRejectedMessage > > | CredentialsRejectedReceived |
The event raised when credentials are rejected by the Diffusion server. More... | |
EventHandler < ServerClosedEventArgs > | DiffusionServerConnectionAttemptFailed |
The event raised when connection to the Diffusion server fails. More... | |
EventHandler< MessageEventArgs < TopicMessageImpl > > | DiffusionServerConnected |
The event raised when connection has been established to the Diffusion server. More... | |
EventHandler < ServerClosedEventArgs > | DiffusionServerDisconnected |
The event raised when connection is lost to the Diffusion server. More... | |
EventHandler < ServerRejectedCredentialsEventArgs > | DiffusionServerCredentialsRejected |
The event raised when credentials are rejected by the Diffusion server. More... | |
EventHandler< MessageEventArgs < TopicMessageImpl > > | MessageAcknowledged |
The event raised when a message has been acknowledged by the Diffusion server. More... | |
EventHandler< MessageEventArgs < TopicMessageImpl > > | MessageNotAcknowledged |
The event raised when a message has not been acknowledged by the Diffusion server. More... | |
EventHandler< EventArgs > | ConnectionSequenceExhausted |
The event raised when the set of server details is exhausted. More... | |
![]() | |
EventHandler< MessageEventArgs < TopicMessageImpl > > | TopicMessageReceived |
The event raised when a topic message is received from the Diffusion server. More... | |
EventHandler< MessageEventArgs < TopicStatusMessage > > | TopicStatusChanged |
The event raised when the status of a topic is changed. More... | |
EventHandler< MessageEventArgs < ClientPingMessageImpl > > | ServerPingReceived |
The event raised when a ping is received from the server. More... | |
EventHandler< MessageEventArgs < ServerPingMessageImpl > > | PingResponseReceived |
The event raised when a ping message is received from the Diffusion server. More... | |
EventHandler< MessageEventArgs < CredentialsRejectedMessage > > | CredentialsRejectedReceived |
The event raised when credentials are rejected by the Diffusion server. More... | |
EventHandler < ServerClosedEventArgs > | DiffusionServerConnectionAttemptFailed |
The event raised when connection to the Diffusion server fails. More... | |
EventHandler< MessageEventArgs < TopicMessageImpl > > | DiffusionServerConnected |
The event raised when connection has been established to the Diffusion server. More... | |
EventHandler < ServerClosedEventArgs > | DiffusionServerDisconnected |
The event raised when connection is lost to the Diffusion server. More... | |
EventHandler < ServerRejectedCredentialsEventArgs > | DiffusionServerCredentialsRejected |
The event raised when credentials are rejected by the Diffusion server. More... | |
EventHandler< MessageEventArgs < TopicMessageImpl > > | MessageAcknowledged |
The event raised when a message has been acknowledged by the Diffusion server. More... | |
EventHandler< MessageEventArgs < TopicMessageImpl > > | MessageNotAcknowledged |
The event raised when a message has not been acknowledged by the Diffusion server. More... | |
![]() | |
EventHandler< EventArgs > | ConnectionSequenceExhausted |
The event raised when the load balance sequence is completed. More... | |
![]() | |
EventHandler < ServerDetailsEventArgs > | ConnectionDetailsAcquired |
The event which is fired when a set of server details is acquired from the list. More... | |
EventHandler< EventArgs > | ConnectionServiceStopped |
The event raised when the connection service is stopped. More... | |
This class is responsible for the connection attempts to the Diffusion server.
PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.DiffusionConnectionService | ( | TClient | client | ) |
Constructor.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.AddServerConnectionListener | ( | IServerConnectionListener | listener | ) |
Adds a server connection listener.
listener |
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.Connect | ( | ) |
Attempts to establish a connection to a Diffusion server.
IPagedTopicHandler PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.CreatePagedTopicHandler | ( | ITopicMessage | message, |
IPagedTopicListener | listener | ||
) |
Adds a handler object for a 'paged' Topic. This would be called in response to receiving an ITopicMessage.IsPagedLoad message from a paged topic as a result of subscribing to it. Note that no other messages would be received from a paged topic until the returned handler is used to IPagedTopicHandler.Open( int, int ) the topic.
message | The load message received from the topic. |
listener | An object that is to receive all notifications from the topic. |
IServiceTopicHandler PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.CreateServiceTopicHandler | ( | IDiffusionClientConnector | client, |
ITopicMessage | message, | ||
IServiceTopicListener | listener | ||
) |
Creates a handler object for a 'service' topic. This would be called in response to receiving an ITopicMessage.IsServiceLoad message from a service topic as a result of subscribing to it. Note that no other messages would be received from a service topic other than via the specified IServiceTopicListener.
client | The client connection object. |
message | The load message received from the topic. |
listener | An object that is to receive all service replies and notifications. |
ITopicNotifyTopicHandler PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.CreateTopicNotifyTopicHandler | ( | IDiffusionClientConnector | client, |
ITopicMessage | message, | ||
ITopicNotifyTopicListener | listener | ||
) |
Create a topic notify handler.
client | |
message | |
listener |
bool PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.HandleTopicMessage | ( | IMessageSource | source, |
ITopicMessage | message | ||
) |
Handles a message received from an IMessageSource. This will handle an incoming message from a specified source.
source | The message source. |
message | The message. |
Implements PushTechnology.DiffusionCore.Messaging.Topic.ITopicListener.
bool PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.IsLastConnector | ( | ) |
Returns whether the active connector is the last in the list of connectors.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaiseCredentialsRejectedEvent | ( | MessageImpl | message, |
IDiffusionClientConnector | connector | ||
) |
Raise the credentials rejected message event.
message | |
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaiseMessageAcknowledgedEvent | ( | TopicMessageImpl | message, |
IDiffusionClientConnector | connector | ||
) |
Raise the message acknowledged event.
message | |
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaiseMessageNotAcknowledgedEvent | ( | TopicMessageImpl | message, |
IDiffusionClientConnector | connector | ||
) |
Raise the message not acknowledged event.
message | |
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaisePingResponseReceivedEvent | ( | MessageImpl | message, |
IDiffusionClientConnector | connector | ||
) |
Raise the ping response received message event.
message | |
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaiseServerConnectedEvent | ( | IDiffusionClientConnector | connector | ) |
Raise the server connected event.
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaiseServerConnectionAttemptFailedEvent | ( | ServerClosedEventArgs | args, |
IDiffusionClientConnector | connector | ||
) |
Raise the server connection failure event.
args | |
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaiseServerDisconnectedEvent | ( | ServerClosedEventArgs | args, |
IDiffusionClientConnector | connector | ||
) |
Raise the server disconnected event.
args | |
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaiseServerPingReceivedEvent | ( | MessageImpl | message, |
IDiffusionClientConnector | connector | ||
) |
Raise the 'server ping received' message event.
message | |
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaiseServerRejectedCredentialsEvent | ( | V4Credentials | credentials, |
IDiffusionClientConnector | connector | ||
) |
Raise the server rejected credentials event.
credentials | |
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaiseTopicMessageReceivedEvent | ( | TopicMessageImpl | message, |
IDiffusionClientConnector | connector | ||
) |
Raise the topic message received event.
message | |
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.RaiseTopicStatusChangedEvent | ( | TopicStatusMessage | message, |
IDiffusionClientConnector | connector | ||
) |
Raise the topic status changed event.
message | |
connector |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IDiffusionClientEventMethods.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.Reset | ( | ) |
Performs a 'reset' of connector indices, etc.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.ServerConnected | ( | IDiffusionClientConnector | connector | ) |
Notification of connection. This is called when a connection to a server is established.
connector | The server connector. |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IServerConnectionListener.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.ServerConnectionAttemptFailed | ( | IDiffusionClientConnector | connector, |
ServerClosedEventArgs | args | ||
) |
Notification of a failed connection attempt. The reason for the failure can be established by checking the state of the connection using IDiffusionClientConnector.State.
connector | |
args |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IServerConnectionListener.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.ServerDisconnected | ( | IDiffusionClientConnector | connector, |
ServerClosedEventArgs | args | ||
) |
Notification of disconnection. The reason for the disconnection can be established by checking the state of the connection using IDiffusionClientConnector.State.
connector | The server connector. |
args | The arguments which can be interrogated for the state and details of a server closure. |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IServerConnectionListener.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.ServerRejectedCredentials | ( | IDiffusionClientConnector | connector, |
V4Credentials | credentials | ||
) |
Notification of rejected credentials from the server.
connector | |
credentials |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IServerConnectionListener.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.ServerTopicStatusChanged | ( | IDiffusionClientConnector | connector, |
string | topicName, | ||
TopicStatus | statusType | ||
) |
Notification that the status for a topic that was subscribed to has changed.
connector | The connector. |
topicName | The name of the topic on which the status has changed. |
statusType | The topic status change type. |
Implements PushTechnology.DiffusionCore.Connection.Interfaces.IServerConnectionListener.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.SetAckListener | ( | IServerAckListener | listener | ) |
Set the acknowledgement message listener.
listener |
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.SetAckTimeout | ( | long | timeout | ) |
Set the acknowledgement message timeout.
timeout |
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.SetActiveTransport | ( | ) |
Helper method to set the active transport (if possible)
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.SetAutoAcknowledging | ( | bool | autoAcknowledge | ) |
Determines whether acknowledgement messages are responded to automatically.
autoAcknowledge |
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.SetConnectionDetails | ( | IConnectionDetails | connectionDetails | ) |
Sets the connection details.
connectionDetails |
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.SetCredentials | ( | V4Credentials | credentials | ) |
Sets the credentials.
credentials |
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.SetMaximumPacketSize | ( | int | size | ) |
Set the maximum socket buffer size (both input and output).
size |
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.SetPingListener | ( | IServerPingResponseListener | listener | ) |
Set the ping message listener.
listener |
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.SubscribeToExternalEvents | ( | ) |
Method to allow external classes to subscribe to the various events.
void PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.UnsubscribeFromExternalEvents | ( | ) |
Method to allow external classes to unsubscribe from the various events.
|
getset |
Get/set the acknowledgement message listener.
|
getset |
Get/set the acknowledgement message timeout.
|
getset |
Get/set the event listener dictionary object.
|
get |
Returns the active set of server details.
|
getset |
Get/set the active transport.
|
get |
Get the active transport base.
|
getset |
Get/set the connection capabilities.
|
getset |
Get the client object.
|
getset |
Get/set the connection details.
|
getset |
Gets/sets whether reponses to 'ack' messages are automatic.
|
getset |
Indicates whether the service is running.
|
getset |
Get/set the maximum socket buffer size.
|
getset |
Get/set the notify topic handlers.
|
getset |
Get/set the paged topic handlers.
|
getset |
Get/set the ping message listener.
|
getset |
Get/set the 'subscriber' to the connection calls.
|
getset |
Indicates whether to attempt to restore state with an accordingly-configured Diffusion server upon loss of connection and subsequent reconnection.
|
getset |
Get/set the default message listener.
|
get |
Gets the server details factory object.
|
getset |
Get/set the service topic handlers.
|
getset |
Flag to request that the connection service stops when it has finished its most recent connection attempt.
|
getset |
Get/set the topic listener dictionary object.
EventHandler<ServerDetailsEventArgs> PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.ConnectionDetailsAcquired |
The event which is fired when a set of server details is acquired from the list.
EventHandler<EventArgs> PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.ConnectionSequenceExhausted |
The event raised when the set of server details is exhausted.
EventHandler<EventArgs> PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.ConnectionServiceStopped |
The event raised when the connection service is stopped.
EventHandler<MessageEventArgs<CredentialsRejectedMessage> > PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.CredentialsRejectedReceived |
The event raised when credentials are rejected by the Diffusion server.
EventHandler<MessageEventArgs<TopicMessageImpl> > PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.DiffusionServerConnected |
The event raised when connection has been established to the Diffusion server.
EventHandler<ServerClosedEventArgs> PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.DiffusionServerConnectionAttemptFailed |
The event raised when connection to the Diffusion server fails.
EventHandler<ServerRejectedCredentialsEventArgs> PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.DiffusionServerCredentialsRejected |
The event raised when credentials are rejected by the Diffusion server.
EventHandler<ServerClosedEventArgs> PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.DiffusionServerDisconnected |
The event raised when connection is lost to the Diffusion server.
EventHandler<MessageEventArgs<TopicMessageImpl> > PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.MessageAcknowledged |
The event raised when a message has been acknowledged by the Diffusion server.
EventHandler<MessageEventArgs<TopicMessageImpl> > PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.MessageNotAcknowledged |
The event raised when a message has not been acknowledged by the Diffusion server.
EventHandler<MessageEventArgs<ServerPingMessageImpl> > PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.PingResponseReceived |
The event raised when a ping message is received from the Diffusion server.
EventHandler<MessageEventArgs<ClientPingMessageImpl> > PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.ServerPingReceived |
The event raised when a ping is received from the server.
EventHandler<MessageEventArgs<TopicMessageImpl> > PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.TopicMessageReceived |
The event raised when a topic message is received from the Diffusion server.
EventHandler<MessageEventArgs<TopicStatusMessage> > PushTechnology.DiffusionCore.Connection.Services.DiffusionConnectionService< TClient >.TopicStatusChanged |
The event raised when the status of a topic is changed.