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

This is the interface for applications that wish to perform timed reconnection attempts to the Diffusion server. More...

Public Member Functions

void Connect ()
 This should be used to call the standard 'connect' method. More...
 
void Reconnect ()
 This should be used to call the 'reconnect' method when connection is trying to be re-established to the Diffusion server because connection has been lost, and it is known that the Diffusion server is holding the current state for the client in the event of a timely reconnection. More...
 

Properties

IDiffusionTopicConnector TopicConnector [get]
 Get the topic connector. More...
 
bool ShouldReconnect [get, set]
 Determine whether we should attempt reconnection. More...
 
int ReconnectionAttempts [get, set]
 Get/set the number of reconnection attempts. More...
 
int ReconnectionInterval [get, set]
 Get/set the interval between reconnection attempts (seconds). More...
 
bool RestoreState [get, set]
 Determines whether we should attempt to restore state when attempting to reconnect. More...
 

Detailed Description

This is the interface for applications that wish to perform timed reconnection attempts to the Diffusion server.

Member Function Documentation

void PushTechnology.DiffusionCore.Connection.Services.IDiffusionReconnector.Connect ( )

This should be used to call the standard 'connect' method.

void PushTechnology.DiffusionCore.Connection.Services.IDiffusionReconnector.Reconnect ( )

This should be used to call the 'reconnect' method when connection is trying to be re-established to the Diffusion server because connection has been lost, and it is known that the Diffusion server is holding the current state for the client in the event of a timely reconnection.

Property Documentation

int PushTechnology.DiffusionCore.Connection.Services.IDiffusionReconnector.ReconnectionAttempts
getset

Get/set the number of reconnection attempts.

int PushTechnology.DiffusionCore.Connection.Services.IDiffusionReconnector.ReconnectionInterval
getset

Get/set the interval between reconnection attempts (seconds).

bool PushTechnology.DiffusionCore.Connection.Services.IDiffusionReconnector.RestoreState
getset

Determines whether we should attempt to restore state when attempting to reconnect.

bool PushTechnology.DiffusionCore.Connection.Services.IDiffusionReconnector.ShouldReconnect
getset

Determine whether we should attempt reconnection.

IDiffusionTopicConnector PushTechnology.DiffusionCore.Connection.Services.IDiffusionReconnector.TopicConnector
get

Get the topic connector.