com.compoze.trigger
Class ConnectionContext
java.lang.Object
|
+--com.compoze.trigger.ConnectionContext
- public class ConnectionContext
- extends java.lang.Object
This class stores information about the current connection as it applies to
the request handlers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionContext
public ConnectionContext(java.lang.Thread currentThread,
ITriggerList triggerList,
long lTimeDifference)
- Constructor.
- Parameters:
socket
- the connected socketiActiveConnections
- the number of active connectionscurrentThread
- the server threadeventList
- the event listlTimeDifference
- the difference between server and client time
getTriggerThread
public java.lang.Thread getTriggerThread()
- Get the trigger thread.
- Returns:
- the server thread
getTriggerList
public ITriggerList getTriggerList()
- Get the event list.
- Returns:
- the event list
getTimeDifference
public long getTimeDifference()
- Get the time difference between the server and the client.
- Returns:
- the difference between server and client time
Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.