com.ibm.as400.access
Class ObjectReferences.SessionUsingObjectStructure

java.lang.Object
  extended by com.ibm.as400.access.ObjectReferences.SessionUsingObjectStructure
Enclosing class:
ObjectReferences

public static class ObjectReferences.SessionUsingObjectStructure
extends Object

Contains information about the sessions that are known to be holding a reference on the object.


Method Summary
 byte[] getSessionIdentifier()
          Returns the unique identifier for the session.
 String getUserName()
          Returns the name of the user that is associated with the session.
 String getWorkstationAddress()
          Returns the IP address of the workstation from which the session to the system was established.
 String getWorkstationName()
          Returns the name of the workstation from which the session to the system was established.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSessionIdentifier

public byte[] getSessionIdentifier()
Returns the unique identifier for the session.

Returns:
The unique identifier for the session.

getUserName

public String getUserName()
Returns the name of the user that is associated with the session.

Returns:
The name of the user that is associated with the session.

getWorkstationAddress

public String getWorkstationAddress()
Returns the IP address of the workstation from which the session to the system was established. If this information is not available, an empty string ("") is returned.

Returns:
The IP address of the workstation from which the session to the system was established.

getWorkstationName

public String getWorkstationName()
Returns the name of the workstation from which the session to the system was established. If this information is not available, an empty string ("") is returned.

Returns:
The name of the workstation from which the session to the system was established.