![]() |
Diffusion .NET Classic API - Core and Common
5.9.4
|
The interface for Diffusion connections. More...
Public Member Functions | |
void | Connect () |
Attempts to establish a connection to a Diffusion server. More... | |
void | Connect (EventHandler< MessageEventArgs< TopicMessageImpl >> successEvent, EventHandler< ServerClosedEventArgs > failureEvent, EventHandler< ServerClosedEventArgs > disconnectedEvent, EventHandler< MessageEventArgs< TopicMessageImpl >> messageReceivedEvent) |
Attempts to establish a connection to a Diffusion server with callbacks. More... | |
void | Reconnect () |
Attempts to re-establish a connection to a Diffusion server. More... | |
void | Disconnect () |
Closes the connection to the Diffusion server. More... | |
Properties | |
V4Credentials | Credentials [get, set] |
Get/set the credentials. More... | |
IConnectionDetails | ConnectionDetails [get, set] |
Get/set the connection details. More... | |
IServerDetails | ActiveServerDetails [get] |
Get the server details object currently in use. More... | |
int | MaxPacketSize [get, set] |
Get/set the maximum packet size. More... | |
bool | IsConnected [get] |
Returns whether this connector is connected to a Diffusion server. More... | |
string | ClientId [get] |
Gets the client Id. More... | |
ConnectionCapabilities | Capabilities [get, set] |
Get/set the connection capabilities. More... | |
![]() | |
ReadOnlyCollection < IServerConnectionListener > | ServerConnectionListeners [get] |
Get/set the server listeners. More... | |
IServerPingResponseListener | PingListener [get, set] |
Get/set the ping listener. More... | |
IServerAckListener | AckListener [get, set] |
Get/set the ack listener. More... | |
The interface for Diffusion connections.
void PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionBaseConnector.Connect | ( | ) |
Attempts to establish a connection to a Diffusion server.
void PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionBaseConnector.Connect | ( | EventHandler< MessageEventArgs< TopicMessageImpl >> | successEvent, |
EventHandler< ServerClosedEventArgs > | failureEvent, | ||
EventHandler< ServerClosedEventArgs > | disconnectedEvent, | ||
EventHandler< MessageEventArgs< TopicMessageImpl >> | messageReceivedEvent | ||
) |
Attempts to establish a connection to a Diffusion server with callbacks.
successEvent | The event invoked when connection is successful. |
failureEvent | The event invoked when the connection attempt has failed. |
disconnectedEvent | The event invoked when connection has been lost. |
messageReceivedEvent | The event invoked when a message is received from the Diffusion server. |
void PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionBaseConnector.Disconnect | ( | ) |
Closes the connection to the Diffusion server.
void PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionBaseConnector.Reconnect | ( | ) |
Attempts to re-establish a connection to a Diffusion server.
|
get |
Get the server details object currently in use.
|
getset |
Get/set the connection capabilities.
|
get |
Gets the client Id.
|
getset |
Get/set the connection details.
|
getset |
Get/set the credentials.
|
get |
Returns whether this connector is connected to a Diffusion server.
|
getset |
Get/set the maximum packet size.