MyChannels.Nirvana.ISessionAttributes Interface Reference

Defines the global settings for a session. More...

Inherited by MyChannels.Nirvana.InternalSession.

Properties

bool DisconnectIfClusterFails [get, set]
 True: The session will automatically disconnect if the realm looses quorum. More...
 
long InitialConnectionRetry [get, set]
 The number of times the initialization routine will attempt to connect to the realm before raising an exception. More...
 
IEnumerable< string > Urls [get, set]
 The URLs of the realm nodes that you wish to connect to. More...
 
string Username [get, set]
 The username used to establish the session. More...
 

Detailed Description

Defines the global settings for a session.

Property Documentation

bool MyChannels.Nirvana.ISessionAttributes.DisconnectIfClusterFails
getset

True: The session will automatically disconnect if the realm looses quorum.

False: The session will stay connected.

long MyChannels.Nirvana.ISessionAttributes.InitialConnectionRetry
getset

The number of times the initialization routine will attempt to connect to the realm before raising an exception.

IEnumerable<string> MyChannels.Nirvana.ISessionAttributes.Urls
getset

The URLs of the realm nodes that you wish to connect to.

string MyChannels.Nirvana.ISessionAttributes.Username
getset

The username used to establish the session.