org.jgroups
Class Event
java.lang.Object
org.jgroups.Event
public class Event
- extends java.lang.Object
Used for inter-stack and intra-stack communication.
- Author:
- Bela Ban
Constructor Summary |
Event(int type)
|
Event(int type,
java.lang.Object arg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MSG
public static final int MSG
- See Also:
- Constant Field Values
CONNECT
public static final int CONNECT
- See Also:
- Constant Field Values
CONNECT_OK
public static final int CONNECT_OK
- See Also:
- Constant Field Values
DISCONNECT
public static final int DISCONNECT
- See Also:
- Constant Field Values
DISCONNECT_OK
public static final int DISCONNECT_OK
- See Also:
- Constant Field Values
VIEW_CHANGE
public static final int VIEW_CHANGE
- See Also:
- Constant Field Values
GET_LOCAL_ADDRESS
public static final int GET_LOCAL_ADDRESS
- See Also:
- Constant Field Values
SET_LOCAL_ADDRESS
public static final int SET_LOCAL_ADDRESS
- See Also:
- Constant Field Values
SUSPECT
public static final int SUSPECT
- See Also:
- Constant Field Values
BLOCK
public static final int BLOCK
- See Also:
- Constant Field Values
BLOCK_OK
public static final int BLOCK_OK
- See Also:
- Constant Field Values
FIND_INITIAL_MBRS
public static final int FIND_INITIAL_MBRS
- See Also:
- Constant Field Values
FIND_INITIAL_MBRS_OK
public static final int FIND_INITIAL_MBRS_OK
- See Also:
- Constant Field Values
MERGE
public static final int MERGE
- See Also:
- Constant Field Values
TMP_VIEW
public static final int TMP_VIEW
- See Also:
- Constant Field Values
BECOME_SERVER
public static final int BECOME_SERVER
- See Also:
- Constant Field Values
GET_APPLSTATE
public static final int GET_APPLSTATE
- See Also:
- Constant Field Values
GET_APPLSTATE_OK
public static final int GET_APPLSTATE_OK
- See Also:
- Constant Field Values
GET_STATE
public static final int GET_STATE
- See Also:
- Constant Field Values
GET_STATE_OK
public static final int GET_STATE_OK
- See Also:
- Constant Field Values
STATE_RECEIVED
public static final int STATE_RECEIVED
- See Also:
- Constant Field Values
START_QUEUEING
public static final int START_QUEUEING
- See Also:
- Constant Field Values
STOP_QUEUEING
public static final int STOP_QUEUEING
- See Also:
- Constant Field Values
SWITCH_NAK
public static final int SWITCH_NAK
- See Also:
- Constant Field Values
SWITCH_NAK_ACK
public static final int SWITCH_NAK_ACK
- See Also:
- Constant Field Values
SWITCH_OUT_OF_BAND
public static final int SWITCH_OUT_OF_BAND
- See Also:
- Constant Field Values
FLUSH
public static final int FLUSH
- See Also:
- Constant Field Values
FLUSH_OK
public static final int FLUSH_OK
- See Also:
- Constant Field Values
DROP_NEXT_MSG
public static final int DROP_NEXT_MSG
- See Also:
- Constant Field Values
STABLE
public static final int STABLE
- See Also:
- Constant Field Values
GET_MSG_DIGEST
public static final int GET_MSG_DIGEST
- See Also:
- Constant Field Values
GET_MSG_DIGEST_OK
public static final int GET_MSG_DIGEST_OK
- See Also:
- Constant Field Values
REBROADCAST_MSGS
public static final int REBROADCAST_MSGS
- See Also:
- Constant Field Values
REBROADCAST_MSGS_OK
public static final int REBROADCAST_MSGS_OK
- See Also:
- Constant Field Values
GET_MSGS_RECEIVED
public static final int GET_MSGS_RECEIVED
- See Also:
- Constant Field Values
GET_MSGS_RECEIVED_OK
public static final int GET_MSGS_RECEIVED_OK
- See Also:
- Constant Field Values
GET_MSGS
public static final int GET_MSGS
- See Also:
- Constant Field Values
GET_MSGS_OK
public static final int GET_MSGS_OK
- See Also:
- Constant Field Values
GET_DIGEST
public static final int GET_DIGEST
- See Also:
- Constant Field Values
GET_DIGEST_OK
public static final int GET_DIGEST_OK
- See Also:
- Constant Field Values
SET_DIGEST
public static final int SET_DIGEST
- See Also:
- Constant Field Values
GET_DIGEST_STATE
public static final int GET_DIGEST_STATE
- See Also:
- Constant Field Values
GET_DIGEST_STATE_OK
public static final int GET_DIGEST_STATE_OK
- See Also:
- Constant Field Values
SET_PARTITIONS
public static final int SET_PARTITIONS
- See Also:
- Constant Field Values
MERGE_DENIED
public static final int MERGE_DENIED
- See Also:
- Constant Field Values
EXIT
public static final int EXIT
- See Also:
- Constant Field Values
PERF
public static final int PERF
- See Also:
- Constant Field Values
SUBVIEW_MERGE
public static final int SUBVIEW_MERGE
- See Also:
- Constant Field Values
SUBVIEWSET_MERGE
public static final int SUBVIEWSET_MERGE
- See Also:
- Constant Field Values
HEARD_FROM
public static final int HEARD_FROM
- See Also:
- Constant Field Values
UNSUSPECT
public static final int UNSUSPECT
- See Also:
- Constant Field Values
SET_PID
public static final int SET_PID
- See Also:
- Constant Field Values
MERGE_DIGEST
public static final int MERGE_DIGEST
- See Also:
- Constant Field Values
CONFIG
public static final int CONFIG
- See Also:
- Constant Field Values
GET_DIGEST_STABLE
public static final int GET_DIGEST_STABLE
- See Also:
- Constant Field Values
GET_DIGEST_STABLE_OK
public static final int GET_DIGEST_STABLE_OK
- See Also:
- Constant Field Values
START
public static final int START
- See Also:
- Constant Field Values
START_OK
public static final int START_OK
- See Also:
- Constant Field Values
STOP
public static final int STOP
- See Also:
- Constant Field Values
STOP_OK
public static final int STOP_OK
- See Also:
- Constant Field Values
SUSPEND_STABLE
public static final int SUSPEND_STABLE
- See Also:
- Constant Field Values
RESUME_STABLE
public static final int RESUME_STABLE
- See Also:
- Constant Field Values
ENABLE_UNICASTS_TO
public static final int ENABLE_UNICASTS_TO
- See Also:
- Constant Field Values
SUSPEND
public static final int SUSPEND
- See Also:
- Constant Field Values
SUSPEND_OK
public static final int SUSPEND_OK
- See Also:
- Constant Field Values
RESUME
public static final int RESUME
- See Also:
- Constant Field Values
STATE_TRANSFER_INPUTSTREAM
public static final int STATE_TRANSFER_INPUTSTREAM
- See Also:
- Constant Field Values
STATE_TRANSFER_OUTPUTSTREAM
public static final int STATE_TRANSFER_OUTPUTSTREAM
- See Also:
- Constant Field Values
STATE_TRANSFER_INPUTSTREAM_CLOSED
public static final int STATE_TRANSFER_INPUTSTREAM_CLOSED
- See Also:
- Constant Field Values
STATE_TRANSFER_OUTPUTSTREAM_CLOSED
public static final int STATE_TRANSFER_OUTPUTSTREAM_CLOSED
- See Also:
- Constant Field Values
UNBLOCK
public static final int UNBLOCK
- See Also:
- Constant Field Values
SUSPEND_FAILED
public static final int SUSPEND_FAILED
- See Also:
- Constant Field Values
USER_DEFINED
public static final int USER_DEFINED
- See Also:
- Constant Field Values
FIND_INITIAL_MBRS_EVT
public static final Event FIND_INITIAL_MBRS_EVT
GET_DIGEST_EVT
public static final Event GET_DIGEST_EVT
Event
public Event(int type)
Event
public Event(int type,
java.lang.Object arg)
getType
public int getType()
setType
public void setType(int type)
getArg
public java.lang.Object getArg()
setArg
public void setArg(java.lang.Object arg)
type2String
public static java.lang.String type2String(int t)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.