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

The interface representing a client connection to a Diffusion server. More...

Inheritance diagram for PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler:
PushTechnology.DiffusionCore.Connection.Connectors.IConnectionHandler PushTechnology.DiffusionCore.Messaging.IMessageSource PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionBufferMessageHandler PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionClientTcpConnection

Public Member Functions

void CreateDiffusionConnection (string data, bool async)
 
void HandleBufferMessage (Byte[] message)
 
void WriteBufferToChannel (ByteBuffer buffer)
 
void WriteBytesToChannel (byte[] bytes)
 
- Public Member Functions inherited from PushTechnology.DiffusionCore.Connection.Connectors.IDiffusionBufferMessageHandler
MessageImpl HandleBufferMessage (ByteBuffer buffer, TopicAliasMap topicAliasMap)
 Handles a message buffer which has a full message in it. The buffer may contain more than a full message but will not contain less. It will have a valid message length in the first two bytes describing how much of the message is to be processed. This method must extract the message that it needs from the buffer but must not change the positioning or limit of the supplied buffer in any way. More...
 

Properties

IServerDetails ServerDetails [get]
 Returns the server details. More...
 
V4Credentials Credentials [get, set]
 Get/set the credentials. More...
 
List< IServerConnectionListenerServerConnectionListeners [get, set]
 Get/set the default message listeners. More...
 
IServerPingResponseListener PingListener [get, set]
 Get/set the ping message listener. More...
 
IServerAckListener AckListener [get, set]
 Get/set the acknowledgement message listener. More...
 
ConcurrentBag< TopicListenerImplActionListeners [get, set]
 Get/set the array of action listeners. More...
 
long AckTimeout [get, set]
 Get/set the acknowledgement timeout. More...
 
bool HasDefaultListener [get]
 Indicates whether the client connection has a default message listener. More...
 
bool HasTopicListeners [get]
 Indicates whether the client connection has message listeners. More...
 
bool CascadeTransports [get]
 
- Properties inherited from PushTechnology.DiffusionCore.Messaging.IMessageSource
MessageSourceType SourceType [get]
 Get/set the message source type. More...
 

Detailed Description

The interface representing a client connection to a Diffusion server.

Property Documentation

IServerAckListener PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler.AckListener
getset

Get/set the acknowledgement message listener.

long PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler.AckTimeout
getset

Get/set the acknowledgement timeout.

ConcurrentBag<TopicListenerImpl> PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler.ActionListeners
getset

Get/set the array of action listeners.

V4Credentials PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler.Credentials
getset

Get/set the credentials.

bool PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler.HasDefaultListener
get

Indicates whether the client connection has a default message listener.

bool PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler.HasTopicListeners
get

Indicates whether the client connection has message listeners.

Returns
IServerPingResponseListener PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler.PingListener
getset

Get/set the ping message listener.

List<IServerConnectionListener> PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler.ServerConnectionListeners
getset

Get/set the default message listeners.

IServerDetails PushTechnology.DiffusionCore.Connection.Connectors.IClientConnectionHandler.ServerDetails
get

Returns the server details.