atg.agent.events
Class AgentSessionEndEvent

java.lang.Object
  extended by atg.agent.events.AgentEvent
      extended by atg.agent.events.AgentSessionEndEvent
All Implemented Interfaces:
atg.service.datacollection.TypedEvent, java.io.Serializable

public class AgentSessionEndEvent
extends AgentEvent

Event indicating an Agent's session has ended.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from class atg.agent.events.AgentEvent
AGENT_TOOLS_COMPONENT
 
Constructor Summary
AgentSessionEndEvent()
           
AgentSessionEndEvent(java.lang.String pActivityType, long pSessionCreateTime, long pDurationInSeconds)
          Constructs a new AgentSessionEndEvent.
 
Method Summary
 long getDurationInSeconds()
           
 java.sql.Timestamp getSessionCreateTime()
          Get property SessionCreateTime
 void setDurationInSeconds(long pDurationInSeconds)
           
 void setSessionCreateTime(java.sql.Timestamp pSessionCreateTime)
          The Date associated with the event.
 
Methods inherited from class atg.agent.events.AgentEvent
getAgentProfile, getCustomerProfile, getCustomerProfileId, getEventDate, getIPAddress, getOrganizationId, getParentSessionId, getProfileId, getSessionId, getTicketId, getType, initializeBaseProperties, setCustomerProfile, setCustomerProfileId, setEventDate, setIPAddress, setOrganizationId, setParentSessionId, setProfileId, setSessionId, setTicketId, setType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Constructor Detail

AgentSessionEndEvent

public AgentSessionEndEvent()

AgentSessionEndEvent

public AgentSessionEndEvent(java.lang.String pActivityType,
                            long pSessionCreateTime,
                            long pDurationInSeconds)
Constructs a new AgentSessionEndEvent.

Method Detail

setSessionCreateTime

public void setSessionCreateTime(java.sql.Timestamp pSessionCreateTime)
The Date associated with the event.

Parameters:
pDate - new value to set

getSessionCreateTime

public java.sql.Timestamp getSessionCreateTime()
Get property SessionCreateTime

Returns:
java.sql.Timestamp

getDurationInSeconds

public long getDurationInSeconds()
Returns:
Returns the pDurationInSeconds.

setDurationInSeconds

public void setDurationInSeconds(long pDurationInSeconds)
Parameters:
pDurationInSeconds - The pDurationInSeconds to set.