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

Maintains a collection of 'ServerDetailsHost' objects. More...

Inheritance diagram for PushTechnology.DiffusionCore.Connection.ServerDetailsFactory:

Public Member Functions

 ServerDetailsFactory ()
 Constructor. More...
 
IDiffusionClientConnector NextConnector (int reconnectionTimeout)
 Returns the next connector from the list of connector objects. More...
 
bool IsLastConnector ()
 Informs whether this is the last connector in the list. More...
 
void Reset ()
 Resets the connector index. More...
 
void ShuffleServerDetails ()
 Shuffle (or randomise) the server details list. Used when load balancing connections. More...
 

Properties

ConnectionCapabilities Capabilities [get, set]
 Get/set the connection capabilities. More...
 
int ConnectorIndex [get, set]
 Get/set the connector index. More...
 
ServerDetailsHost ActiveHost [get]
 Returns the active server details object. More...
 
ServerDetailsImpl ActiveServerDetails [get]
 Gets the server details from the current connector. More...
 

Detailed Description

Maintains a collection of 'ServerDetailsHost' objects.

Constructor & Destructor Documentation

PushTechnology.DiffusionCore.Connection.ServerDetailsFactory.ServerDetailsFactory ( )

Constructor.

Member Function Documentation

bool PushTechnology.DiffusionCore.Connection.ServerDetailsFactory.IsLastConnector ( )

Informs whether this is the last connector in the list.

Returns
IDiffusionClientConnector PushTechnology.DiffusionCore.Connection.ServerDetailsFactory.NextConnector ( int  reconnectionTimeout)

Returns the next connector from the list of connector objects.

Returns
void PushTechnology.DiffusionCore.Connection.ServerDetailsFactory.Reset ( )

Resets the connector index.

void PushTechnology.DiffusionCore.Connection.ServerDetailsFactory.ShuffleServerDetails ( )

Shuffle (or randomise) the server details list. Used when load balancing connections.

Property Documentation

ServerDetailsHost PushTechnology.DiffusionCore.Connection.ServerDetailsFactory.ActiveHost
get

Returns the active server details object.

ServerDetailsImpl PushTechnology.DiffusionCore.Connection.ServerDetailsFactory.ActiveServerDetails
get

Gets the server details from the current connector.

ConnectionCapabilities PushTechnology.DiffusionCore.Connection.ServerDetailsFactory.Capabilities
getset

Get/set the connection capabilities.

int PushTechnology.DiffusionCore.Connection.ServerDetailsFactory.ConnectorIndex
getset

Get/set the connector index.