Glossary:
Nirvana Sessions
A session in Nirvana represents a logical connection to a Nirvana Realm. It consists of a set of session attributes, such as the protocol and authentication mechanism to be used, the host and port the message server is running on and a reconnect handler object. The following figures illustrate the class structure and the logical steps involved in creating a session to a Nirvana Realm.
Most of the session parameters are defined in a string that is called RNAME and resembles a URL. All the sample applications provided use an RNAME Java system property to obtain the necessary session attributes. The following section discusses this in further detail. The RNAME takes the following format.
The RNAME entry can contain an unlimited number of comma-separated values each one representing an interface on a Nirvana Realm. Click here for more information on RNAME.
The current version of the Nirvana Realm and the Nirvana client API supports 4 TCP wire protocols. These are the Nirvana Socket Protocol (nsp), the Nirvana HTTP Protocol (nhp), the Nirvana SSL Protocol (nsps) and the Nirvana HTTPS protocol (nhps). These wire protocols are available wherever a connection is required, i.e. client to Realm and Realm to Realm. Click here for more information on communication protocols supported.
