com.distributed.api
Class Event

java.lang.Object
  |
  +--com.distributed.api.Event

public class Event
extends java.lang.Object

Class to hold an event


Field Summary
static int INTERNAL_EVENT
          Constant to indicate Internal Event
static int RECV_EVENT
          Constant to indicate Receive Event
static int SEND_EVENT
          Constant to indicate Send Event
 int type
          Variable to hold event type
 
Constructor Summary
Event(int tp)
          Default constructor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERNAL_EVENT

public static final int INTERNAL_EVENT
Constant to indicate Internal Event

See Also:
Constant Field Values

RECV_EVENT

public static final int RECV_EVENT
Constant to indicate Receive Event

See Also:
Constant Field Values

SEND_EVENT

public static final int SEND_EVENT
Constant to indicate Send Event

See Also:
Constant Field Values

type

public int type
Variable to hold event type

Constructor Detail

Event

public Event(int tp)
Default constructor

Parameters:
tp - Event Type