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)
|
Method Summary |
java.lang.Object |
getArg()
|
int |
getType()
|
void |
setArg(java.lang.Object arg)
|
void |
setType(int type)
Deprecated. in order to make an Event immutable |
java.lang.String |
toString()
|
static java.lang.String |
type2String(int t)
|
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
DISCONNECT
public static final int DISCONNECT
- See Also:
- Constant Field Values
VIEW_CHANGE
public static final int VIEW_CHANGE
- 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
FIND_INITIAL_MBRS
public static final int FIND_INITIAL_MBRS
- 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_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
STABLE
public static final int STABLE
- See Also:
- Constant Field Values
GET_DIGEST
public static final int GET_DIGEST
- See Also:
- Constant Field Values
SET_DIGEST
public static final int SET_DIGEST
- 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
HEARD_FROM
public static final int HEARD_FROM
- See Also:
- Constant Field Values
UNSUSPECT
public static final int UNSUSPECT
- 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
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
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
CLOSE_BARRIER
public static final int CLOSE_BARRIER
- See Also:
- Constant Field Values
OPEN_BARRIER
public static final int OPEN_BARRIER
- See Also:
- Constant Field Values
REBROADCAST
public static final int REBROADCAST
- See Also:
- Constant Field Values
SHUTDOWN
public static final int SHUTDOWN
- See Also:
- Constant Field Values
CONNECT_WITH_STATE_TRANSFER
public static final int CONNECT_WITH_STATE_TRANSFER
- See Also:
- Constant Field Values
DISABLE_UNICASTS_TO
public static final int DISABLE_UNICASTS_TO
- See Also:
- Constant Field Values
START_PARTITION
public static final int START_PARTITION
- See Also:
- Constant Field Values
STOP_PARTITION
public static final int STOP_PARTITION
- See Also:
- Constant Field Values
INFO
public static final int INFO
- See Also:
- Constant Field Values
PREPARE_VIEW
public static final int PREPARE_VIEW
- See Also:
- Constant Field Values
USER_DEFINED
public static final int USER_DEFINED
- See Also:
- Constant Field Values
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 final int getType()
setType
public void setType(int type)
- Deprecated. in order to make an Event immutable
- Sets the new type
- Parameters:
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-2008 Bela Ban. All Rights Reserved.