com.xensource.xenapi
Class Session.Record

java.lang.Object
  extended by com.xensource.xenapi.Session.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
Session

public static class Session.Record
extends Object
implements Types.Record

Represents all the fields in a Session


Field Summary
 Long lastActive
          Timestamp for last time session was active
 Host thisHost
          Currently connected host
 User thisUser
          Currently connected user
 String uuid
          unique identifier/object reference
 
Constructor Summary
Session.Record()
           
 
Method Summary
 Map<String,Object> toMap()
          Convert a session.Record to a Map
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public String uuid
unique identifier/object reference


thisHost

public Host thisHost
Currently connected host


thisUser

public User thisUser
Currently connected user


lastActive

public Long lastActive
Timestamp for last time session was active

Constructor Detail

Session.Record

public Session.Record()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toMap

public Map<String,Object> toMap()
Convert a session.Record to a Map

Specified by:
toMap in interface Types.Record