Compoze Software, Inc.

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.


Constructor Summary
ConnectionContext(java.lang.Thread currentThread, ITriggerList triggerList, long lTimeDifference)
          Constructor.
 
Method Summary
 long getTimeDifference()
          Get the time difference between the server and the client.
 ITriggerList getTriggerList()
          Get the event list.
 java.lang.Thread getTriggerThread()
          Get the trigger thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionContext


public ConnectionContext(java.lang.Thread currentThread,
                         ITriggerList triggerList,
                         long lTimeDifference)
Constructor.
Parameters:
socket - the connected socket
iActiveConnections - the number of active connections
currentThread - the server thread
eventList - the event list
lTimeDifference - the difference between server and client time
Method Detail

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

Compoze Software, Inc.

Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.