org.teiid.adminapi
Interface Session

All Superinterfaces:
AdminObject, java.io.Serializable
All Known Implementing Classes:
SessionMetadata

public interface Session
extends AdminObject

A Session is a lasting connection between a client and a Teiid System. A user may be allowed to have multiple sessions active simultaneously.


Field Summary
 
Fields inherited from interface org.teiid.adminapi.AdminObject
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD
 
Method Summary
 java.lang.String getApplicationName()
          Get the Application Name
 java.lang.String getClientHostName()
          Get the host name of the machine the client is accessing from.
 long getCreatedTime()
          Get the time the Session was created.
 java.lang.String getIPAddress()
          Get the IPAddress for this Session.
 long getLastPingTime()
          Get the Last time Client has check to see if the server is still available
 java.lang.String getSecurityDomain()
          Security Domain user logged into currently
 java.lang.String getSessionId()
          Get the unique Teiid session within a given Teiid System
 java.lang.String getUserName()
          Get User Name for this Session
 java.lang.String getVDBName()
          Get the VDB Name for this Session
 int getVDBVersion()
          Get the VDB Version for this Session
 
Methods inherited from interface org.teiid.adminapi.AdminObject
getName, getProperties, getPropertyValue
 

Method Detail

getLastPingTime

long getLastPingTime()
Get the Last time Client has check to see if the server is still available

Returns:
Date of the last ping to the server.

getApplicationName

java.lang.String getApplicationName()
Get the Application Name

Returns:
String of the Application Name

getSessionId

java.lang.String getSessionId()
Get the unique Teiid session within a given Teiid System

Returns:
String of the Session ID

getUserName

java.lang.String getUserName()
Get User Name for this Session

Returns:
String of UserName

getVDBName

java.lang.String getVDBName()
Get the VDB Name for this Session

Returns:
String name of the VDB

getVDBVersion

int getVDBVersion()
Get the VDB Version for this Session

Returns:
String name/number of the VDB Version

getIPAddress

java.lang.String getIPAddress()
Get the IPAddress for this Session. Note this value is reported from the client.

Returns:

getClientHostName

java.lang.String getClientHostName()
Get the host name of the machine the client is accessing from. Note this value is reported from the client.

Returns:

getCreatedTime

long getCreatedTime()
Get the time the Session was created.

Returns:

getSecurityDomain

java.lang.String getSecurityDomain()
Security Domain user logged into currently

Returns:


Copyright © 2011. All Rights Reserved.