MyChannels.Nirvana.Session Class Reference

Creates a session with a Nirvana Realm. More...

Inheritance diagram for MyChannels.Nirvana.Session:
MyChannels.Nirvana.ISession

Public Member Functions

void Dispose ()
 Dispose of the session, disconnect from the realm. More...
 
void Initialize ()
 Connect to the realm More...
 
 Session (string url)
 Initializes a new instance of the session class. More...
 
 Session (IEnumerable< string > urls)
 Initializes a new instance of the session class. More...
 
 Session (ISessionAttributes attributes)
 Initializes a new instance of the session class. More...
 

Properties

EventHandler
< AsyncExceptionEventArgs > 
AsynchronousExceptionRaised
 Raises an event if the session has any internal communication exceptions. More...
 
EventHandler
< ConnectionStatusEventArgs > 
ConnectionStatusChanged
 Raises events alerting the subscriber of changes in the sessions connectivity. More...
 
IDataGroupSession DataGroups [get]
 Subscribe to and administer Direct Data Delivery More...
 
EventHandler< EventArgs > Disposed
 Raises an event when the session is disposed. More...
 
IQueueSession Queues [get]
 Create producer or consumer for a Queue More...
 
ISessionAttributes Settings [get]
 Settings used to establish a connection to the realm. More...
 
string Subject [get]
 The callers Subject (user) More...
 
ITopicSession Topics [get]
 Create producer or consumer for a Topic More...
 
- Properties inherited from MyChannels.Nirvana.ISession
IDataGroupSession DataGroups [get]
 Subscribe to and administer Direct Data Delivery More...
 
IQueueSession Queues [get]
 Create producer or consumer for a Queue More...
 
ISessionAttributes Settings [get]
 Settings used to establish a connection to the realm. More...
 
string Subject [get]
 The callers Subject (user) More...
 
ITopicSession Topics [get]
 Create producer or consumer for a Topic More...
 

Additional Inherited Members

- Events inherited from MyChannels.Nirvana.ISession
EventHandler
< AsyncExceptionEventArgs > 
AsynchronousExceptionRaised
 Raises an event if the session has any internal communication exceptions. More...
 
EventHandler
< ConnectionStatusEventArgs > 
ConnectionStatusChanged
 Raises events alerting the subscriber of changes in the sessions connectivity. More...
 
EventHandler< EventArgs > Disposed
 Raises an event when the session is disposed. More...
 

Detailed Description

Creates a session with a Nirvana Realm.

Constructor & Destructor Documentation

MyChannels.Nirvana.Session.Session ( string  url)

Initializes a new instance of the session class.

Parameters
urlThe URL of the realm
MyChannels.Nirvana.Session.Session ( IEnumerable< string >  urls)

Initializes a new instance of the session class.

Parameters
urlsThe URLs of the realm (cluster)
MyChannels.Nirvana.Session.Session ( ISessionAttributes  attributes)

Initializes a new instance of the session class.

Parameters
attributesInject session attributes

Member Function Documentation

void MyChannels.Nirvana.Session.Dispose ( )

Dispose of the session, disconnect from the realm.

void MyChannels.Nirvana.Session.Initialize ( )

Connect to the realm

Implements MyChannels.Nirvana.ISession.

Property Documentation

EventHandler<AsyncExceptionEventArgs> MyChannels.Nirvana.Session.AsynchronousExceptionRaised
addremove

Raises an event if the session has any internal communication exceptions.

EventHandler<ConnectionStatusEventArgs> MyChannels.Nirvana.Session.ConnectionStatusChanged
addremove

Raises events alerting the subscriber of changes in the sessions connectivity.

IDataGroupSession MyChannels.Nirvana.Session.DataGroups
get

Subscribe to and administer Direct Data Delivery

EventHandler<EventArgs> MyChannels.Nirvana.Session.Disposed
addremove

Raises an event when the session is disposed.

IQueueSession MyChannels.Nirvana.Session.Queues
get

Create producer or consumer for a Queue

ISessionAttributes MyChannels.Nirvana.Session.Settings
get

Settings used to establish a connection to the realm.

string MyChannels.Nirvana.Session.Subject
get

The callers Subject (user)

ITopicSession MyChannels.Nirvana.Session.Topics
get

Create producer or consumer for a Topic