Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Package PushTechnology.DiffusionCore.Connection

Namespaces

package  Common
 
package  Connectors
 
package  Interfaces
 
package  Services
 
package  Sockets
 

Classes

class  ConnectionCapabilities
 The connection capabilities class. More...
 
class  ConnectionTimeoutException
 Gets thrown if the connection has timed out More...
 
class  HttpServerDetailsImpl
 Defines the details of an HTTP connection to a Diffusion Web Server. More...
 
class  HttpSslServerDetailsImpl
 Defines the details of an HTTP connection to a Diffusion server over SSL. More...
 
interface  ICascadable
 The interface for connection cascades. More...
 
interface  IDiffusionBufferMessageHandler
 Handles a complete message in a byte buffer. More...
 
interface  IDiffusionMessagingConnector
 Methods relating to creating and sending messages More...
 
interface  IDiffusionTopicConnector
 The interface for a Diffusion topic connector. More...
 
interface  IProxyConnector
 
interface  IServerDetails
 Defines the details of a connection to a Diffusion server. More...
 
class  ServerDetailsEventArgs
 The event arguments representing server details information. More...
 
class  ServerDetailsFactory
 Maintains a collection of 'ServerDetailsHost' objects. More...
 
class  ServerDetailsHost
 Helper class for the ServerDetailsFactory class. More...
 
class  ServerDetailsImpl
 Defines the details of a connection to a Diffusion server. More...
 
class  ServerDetailsLoader
 Class responsible for serializing/deserializing server details to/from isolated storage. More...
 
class  TcpServerDetailsImpl
 Defines the details of a TCP connection to a Diffusion server. More...
 
class  TcpSslServerDetailsImpl
 Defines the details of a TCP connection to a Diffusion server over SSL. More...
 
class  WebSocketServerDetailsImpl
 Defines the details of a WebSocket connection to a Diffusion server. More...
 
class  WebSocketSSLServerDetailsImpl
 Defines the details of a Secure WebSocket connection to a Diffusion server. More...
 

Enumerations

enum  ServerConnectionState {
  ServerConnectionState.None, ServerConnectionState.Aborted, ServerConnectionState.Closed, ServerConnectionState.ExplicitlyClosed,
  ServerConnectionState.Connected, ServerConnectionState.Failed, ServerConnectionState.Refused, ServerConnectionState.Rejected,
  ServerConnectionState.Reset, ServerConnectionState.Lost, ServerConnectionState.ClientHasReconnected, ServerConnectionState.DeriveFromSocketState,
  ServerConnectionState.ZeroBytesReceived
}
 Represents the state of a server connection. More...
 
enum  TransportProtocol {
  TransportProtocol.TCP, TransportProtocol.TCPSSL, TransportProtocol.HTTP, TransportProtocol.HTTPSSL,
  TransportProtocol.WEBSOCKET, TransportProtocol.WEBSOCKETSSL
}
 Defines a Diffusion Transport Protocol. More...
 

Enumeration Type Documentation

Represents the state of a server connection.

Enumerator
None 

Placeholder.

Aborted 

The connection was aborted.

Closed 

The connection is closed.

This will be the state before connection and after a tidy closure of the connection.

ExplicitlyClosed 

The connection has been explicitly closed, i.e. via the API.

Connected 

The connection is connected.

Failed 

The connection failed.

This will be the state if a connection attempt has failed, probably as the result of invalid authentication details.

Refused 

The connection was refused by the server.

This will be the state if a connection fails because (for instance) the Diffusion server is unavailable.

Rejected 

The connection was rejected by the server.

This will be the state if a connection was established but was then aborted by the server.

Reset 

The connection was reset by the server.

Lost 

The connection was lost.

This will be the state if a connection was established but then lost for some unknown reason. This may be due to a communications failure, an error at the server or the loss of the server.

ClientHasReconnected 

The reconnection attempt has resulted in a 'client session has expired' response.

This will be the state if a reconnection attempt fails, probably because of a timeout on the Diffusion server.

DeriveFromSocketState 
ZeroBytesReceived 

Zero bytes was received - this usually indicates a dropped socket.

Defines a Diffusion Transport Protocol.

Enumerator
TCP 

Diffusion over TCP/IP.

TCPSSL 

Diffusion over Secure TCP.

HTTP 

Diffusion over HTTP.

HTTPSSL 

Diffusion over Secure HTTP.

WEBSOCKET 

Diffusion over WebSocket.

WEBSOCKETSSL 

Diffusion over Secure WebSocket.