public interface AdministratorSession extends SystemSession
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this session.
|
void |
connect(ServerConnectionDescriptor serverDescriptor)
Connects this Session to the server specified by the server descriptor.
|
ServerActivitySnapshot |
getServerActivitySnapshot()
Returns a
ServerActivitySnapshot object, loaded with a snapshot of server activity |
ServerConfiguration |
getServerConfiguration()
Returns a list of configuration settings for the server
|
ServerFileSystem |
getServerFileSystem()
Returns the server file system.
|
ServerSessionDetails |
getServerSessionDetails()
Returns details of the server and its environment
|
boolean |
isClosed()
Returns
true if this has been closed. |
boolean |
isConnected()
Returns
true if this has a server connection. |
getDataModelFactory, getLocale, getLocaleInfo, getPropertyFactory, isLocalSessionvoid close()
ProcessorStream and invalidates
any other objects created by this session.isClosed(),
ProcessorStreamboolean isClosed()
true if this has been closed.true if this has been closedclose()void connect(ServerConnectionDescriptor serverDescriptor) throws ServerConnectionException
serverDescriptor - this server discriptorServerConnectionException - if a connection cannot be established
or if the Session already has a connectionboolean isConnected()
true if this has a server connection.true if this has a server connectionServerFileSystem getServerFileSystem() throws ServerConnectionException, ServerResourceException
ServerConnectionException - if the session is not connected to a serverServerResourceException - if access to the server file system was deniedServerConfiguration getServerConfiguration() throws ServerConnectionException
ServerConnectionException - if the server connection failsServerActivitySnapshot getServerActivitySnapshot() throws ServerConnectionException
ServerActivitySnapshot object, loaded with a snapshot of server activityServerConnectionException - if the server connection failsServerSessionDetails getServerSessionDetails() throws ServerConnectionException, ServerAdministrationException
ServerConnectionException - if the server connection failsServerAdministrationException - if the details cannot be obtainedCopyright © 2014 Integral Solutions Ltd. All Rights Reserved.