hypercast
Class Socket_Timer_ID

java.lang.Object
  |
  +--hypercast.Socket_Timer_ID

public class Socket_Timer_ID
extends java.lang.Object

This class impements a timer ID used by the socket adapter.


Field Summary
static int typeOfMessageStore
          define the type vlue used by the MessageStore
static int typeOfStreamManager
          define the type vlue used by the StreamManager
 
Constructor Summary
Socket_Timer_ID(int t, java.lang.Object o)
          Constructor.
Socket_Timer_ID(hypercast.Socket_Timer_ID te)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object o)
          compare two Socket_Timer_IDs.
 java.lang.Object getEvent()
          Returns the event object
 int getType()
          Returns the type
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeOfMessageStore

public static final int typeOfMessageStore
define the type vlue used by the MessageStore

See Also:
Constant Field Values

typeOfStreamManager

public static final int typeOfStreamManager
define the type vlue used by the StreamManager

See Also:
Constant Field Values
Constructor Detail

Socket_Timer_ID

public Socket_Timer_ID(int t,
                       java.lang.Object o)
Constructor.

Parameters:
t - the type indicating the object using the timer.
o - index value of the protocol node.

Socket_Timer_ID

public Socket_Timer_ID(hypercast.Socket_Timer_ID te)
Constructor. Constructs a new Socket_Timer_ID object from another Socket_Timer_ID object.

Parameters:
te - a Socket_Timer_ID object
Method Detail

getType

public int getType()
Returns the type


getEvent

public java.lang.Object getEvent()
Returns the event object


equals

public boolean equals(java.lang.Object o)
compare two Socket_Timer_IDs. Returns true if they are equal, and false otherwise.

Overrides:
equals in class java.lang.Object