org.javagroups
Class Event
java.lang.Object
|
+--org.javagroups.Event
- public class Event
- extends java.lang.Object
Used for inter-stack and intra-stack communication.
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 |
START
public static final int START
START_OK
public static final int START_OK
STOP
public static final int STOP
STOP_OK
public static final int STOP_OK
MSG
public static final int MSG
CONNECT
public static final int CONNECT
CONNECT_OK
public static final int CONNECT_OK
DISCONNECT
public static final int DISCONNECT
DISCONNECT_OK
public static final int DISCONNECT_OK
VIEW_CHANGE
public static final int VIEW_CHANGE
GET_LOCAL_ADDRESS
public static final int GET_LOCAL_ADDRESS
SET_LOCAL_ADDRESS
public static final int SET_LOCAL_ADDRESS
CLEANUP
public static final int CLEANUP
CLEANUP_OK
public static final int CLEANUP_OK
SUSPECT
public static final int SUSPECT
BLOCK
public static final int BLOCK
BLOCK_OK
public static final int BLOCK_OK
FIND_INITIAL_MBRS
public static final int FIND_INITIAL_MBRS
FIND_INITIAL_MBRS_OK
public static final int FIND_INITIAL_MBRS_OK
MERGE
public static final int MERGE
TMP_VIEW
public static final int TMP_VIEW
BECOME_SERVER
public static final int BECOME_SERVER
GET_APPLSTATE
public static final int GET_APPLSTATE
GET_APPLSTATE_OK
public static final int GET_APPLSTATE_OK
GET_STATE
public static final int GET_STATE
GET_STATE_OK
public static final int GET_STATE_OK
STATE_RECEIVED
public static final int STATE_RECEIVED
START_QUEUEING
public static final int START_QUEUEING
STOP_QUEUEING
public static final int STOP_QUEUEING
SWITCH_NAK
public static final int SWITCH_NAK
SWITCH_NAK_ACK
public static final int SWITCH_NAK_ACK
SWITCH_OUT_OF_BAND
public static final int SWITCH_OUT_OF_BAND
FLUSH
public static final int FLUSH
FLUSH_OK
public static final int FLUSH_OK
DROP_NEXT_MSG
public static final int DROP_NEXT_MSG
STABLE
public static final int STABLE
GET_MSG_DIGEST
public static final int GET_MSG_DIGEST
GET_MSG_DIGEST_OK
public static final int GET_MSG_DIGEST_OK
REBROADCAST_MSGS
public static final int REBROADCAST_MSGS
REBROADCAST_MSGS_OK
public static final int REBROADCAST_MSGS_OK
GET_MSGS_RECEIVED
public static final int GET_MSGS_RECEIVED
GET_MSGS_RECEIVED_OK
public static final int GET_MSGS_RECEIVED_OK
GET_MSGS
public static final int GET_MSGS
GET_MSGS_OK
public static final int GET_MSGS_OK
GET_DIGEST
public static final int GET_DIGEST
GET_DIGEST_OK
public static final int GET_DIGEST_OK
SET_DIGEST
public static final int SET_DIGEST
GET_DIGEST_STATE
public static final int GET_DIGEST_STATE
GET_DIGEST_STATE_OK
public static final int GET_DIGEST_STATE_OK
SET_PARTITIONS
public static final int SET_PARTITIONS
MERGE_DENIED
public static final int MERGE_DENIED
EXIT
public static final int EXIT
PERF
public static final int PERF
SUBVIEW_MERGE
public static final int SUBVIEW_MERGE
SUBVIEWSET_MERGE
public static final int SUBVIEWSET_MERGE
HEARD_FROM
public static final int HEARD_FROM
UNSUSPECT
public static final int UNSUSPECT
SET_PID
public static final int SET_PID
MERGE_DIGEST
public static final int MERGE_DIGEST
BLOCK_SEND
public static final int BLOCK_SEND
UNBLOCK_SEND
public static final int UNBLOCK_SEND
CONFIG
public static final int CONFIG
USER_DEFINED
public static final int USER_DEFINED
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 © 2001,2002 www.javagroups.com . All Rights Reserved.