This class is used with a nSessionAttributes object to create a Nirvana session.
More...
|
static void | close (nSession session) |
| Closes a Nirvana session More...
|
|
static nSession | create (nSessionAttributes attr, nReconnectHandler handler, string username=null) |
| Creates an nSession object (Nirvana session) based on the nSessionAttributes object and the specified reconnect handler. More...
|
|
static nSession | create (nSessionAttributes attr, string username=null) |
| Creates an nSession object (Nirvana session) based on the nSessionAttributes object and supplied credentials More...
|
|
static nSession | create (nSessionAttributes attr, nReconnectHandler handler, string username, SecureString password) |
| Creates an nSession object (Nirvana session) based on the nSessionAttributes object and the specified reconnect handler. More...
|
|
static nSession | create (nSessionAttributes attr, string username, SecureString password) |
| Creates an nSession object (Nirvana session) based on the nSessionAttributes object and supplied credentials More...
|
|
static nSession | create (nSessionAttributes attr, NetworkCredential creds) |
| Creates an nSession object (Nirvana session) based on the nSessionAttributes object and supplied credentials More...
|
|
static nSession | create (nSessionAttributes attr, nReconnectHandler handler, NetworkCredential creds) |
| Creates an nSession object (Nirvana session) based on the nSessionAttributes object and the specified reconnect handler. More...
|
|
static int | getNoVended () |
| Gets the number of nirvana sessions vended More...
|
|
static void | shutdown () |
| Shuts down the session factory by closing all nirvana sessions that have been created
|
|
This class is used with a nSessionAttributes object to create a Nirvana session.
static void com.pcbsys.nirvana.client.nSessionFactory.close |
( |
nSession |
session | ) |
|
|
static |
Closes a Nirvana session
- Parameters
-
- Exceptions
-
Creates an nSession object (Nirvana session) based on the nSessionAttributes object and the specified reconnect handler.
- Parameters
-
attr | The nSessionAttributes object containing the parameters for the session to be created |
handler | A nReconnectHandler to use if the connection to the Server is lost |
username | The user name to be used by this session to authenticate |
- Returns
- the newly created nSession object
- Exceptions
-
nReconnectHandler
Creates an nSession object (Nirvana session) based on the nSessionAttributes object and supplied credentials
- Parameters
-
attr | The nSessionAttributes object containing the parameters for the session to be created |
username | The user name to be used by this session to authenticate |
- Returns
- the newly created nSession object
- Exceptions
-
Creates an nSession object (Nirvana session) based on the nSessionAttributes object and the specified reconnect handler.
- Parameters
-
attr | The nSessionAttributes object containing the parameters for the session to be created |
handler | A nReconnectHandler to use if the connection to the Server is lost |
username | The user name to be used by this session to authenticate |
password | The password to be used by this session to authenticate |
- Returns
- the newly created nSession object
- Exceptions
-
nReconnectHandler
static nSession com.pcbsys.nirvana.client.nSessionFactory.create |
( |
nSessionAttributes |
attr, |
|
|
string |
username, |
|
|
SecureString |
password |
|
) |
| |
|
static |
Creates an nSession object (Nirvana session) based on the nSessionAttributes object and supplied credentials
- Parameters
-
attr | The nSessionAttributes object containing the parameters for the session to be created |
username | The user name to be used by this session to authenticate |
password | The password to be used by this session to authenticate |
- Returns
- the newly created nSession object
- Exceptions
-
Creates an nSession object (Nirvana session) based on the nSessionAttributes object and supplied credentials
- Parameters
-
attr | The nSessionAttributes object containing the parameters for the session to be created |
creds | The credentials to be used by this session to authenticate |
- Returns
- the newly created nSession object
- Exceptions
-
static int com.pcbsys.nirvana.client.nSessionFactory.getNoVended |
( |
| ) |
|
|
static |
Gets the number of nirvana sessions vended
- Returns
- an int specifying the number of nirvana sessions vended with this session factory