org.jgroups

Class Event

public class Event extends Object

Used for inter-stack and intra-stack communication.

Author: Bela Ban

Field Summary
static intBECOME_SERVER
static intBLOCK
static intBLOCK_OK
static intBLOCK_SEND
static intCONFIG
static intCONNECT
static intCONNECT_OK
static intDISCONNECT
static intDISCONNECT_OK
static intDROP_NEXT_MSG
static intENABLE_UNICASTS_TO
static intEXIT
static intFIND_INITIAL_MBRS
static EventFIND_INITIAL_MBRS_EVT
static intFIND_INITIAL_MBRS_OK
static intFLUSH
static intFLUSH_OK
static intGET_APPLSTATE
static intGET_APPLSTATE_OK
static intGET_DIGEST
static EventGET_DIGEST_EVT
static intGET_DIGEST_OK
static intGET_DIGEST_STABLE
static intGET_DIGEST_STABLE_OK
static intGET_DIGEST_STATE
static intGET_DIGEST_STATE_OK
static intGET_LOCAL_ADDRESS
static intGET_MSGS
static intGET_MSGS_OK
static intGET_MSGS_RECEIVED
static intGET_MSGS_RECEIVED_OK
static intGET_MSG_DIGEST
static intGET_MSG_DIGEST_OK
static intGET_STATE
static intGET_STATE_OK
static intHEARD_FROM
static intMERGE
static intMERGE_DENIED
static intMERGE_DIGEST
static intMSG
static intPERF
static intREBROADCAST_MSGS
static intREBROADCAST_MSGS_OK
static intRESUME_STABLE
static intSET_DIGEST
static intSET_LOCAL_ADDRESS
static intSET_PARTITIONS
static intSET_PID
static intSTABLE
static intSTART
static intSTART_OK
static intSTART_QUEUEING
static intSTATE_RECEIVED
static intSTOP
static intSTOP_OK
static intSTOP_QUEUEING
static intSUBVIEWSET_MERGE
static intSUBVIEW_MERGE
static intSUSPECT
static intSUSPEND_STABLE
static intSWITCH_NAK
static intSWITCH_NAK_ACK
static intSWITCH_OUT_OF_BAND
static intTMP_VIEW
static intUNBLOCK_SEND
static intUNSUSPECT
static intUSER_DEFINED
static intVIEW_CHANGE
Constructor Summary
Event(int type)
Event(int type, Object arg)
Method Summary
ObjectgetArg()
intgetType()
voidsetArg(Object arg)
voidsetType(int type)
StringtoString()
static Stringtype2String(int t)

Field Detail

BECOME_SERVER

public static final int BECOME_SERVER

BLOCK

public static final int BLOCK

BLOCK_OK

public static final int BLOCK_OK

BLOCK_SEND

public static final int BLOCK_SEND

CONFIG

public static final int CONFIG

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

DROP_NEXT_MSG

public static final int DROP_NEXT_MSG

ENABLE_UNICASTS_TO

public static final int ENABLE_UNICASTS_TO

EXIT

public static final int EXIT

FIND_INITIAL_MBRS

public static final int FIND_INITIAL_MBRS

FIND_INITIAL_MBRS_EVT

public static final Event FIND_INITIAL_MBRS_EVT

FIND_INITIAL_MBRS_OK

public static final int FIND_INITIAL_MBRS_OK

FLUSH

public static final int FLUSH

FLUSH_OK

public static final int FLUSH_OK

GET_APPLSTATE

public static final int GET_APPLSTATE

GET_APPLSTATE_OK

public static final int GET_APPLSTATE_OK

GET_DIGEST

public static final int GET_DIGEST

GET_DIGEST_EVT

public static final Event GET_DIGEST_EVT

GET_DIGEST_OK

public static final int GET_DIGEST_OK

GET_DIGEST_STABLE

public static final int GET_DIGEST_STABLE

GET_DIGEST_STABLE_OK

public static final int GET_DIGEST_STABLE_OK

GET_DIGEST_STATE

public static final int GET_DIGEST_STATE

GET_DIGEST_STATE_OK

public static final int GET_DIGEST_STATE_OK

GET_LOCAL_ADDRESS

public static final int GET_LOCAL_ADDRESS

GET_MSGS

public static final int GET_MSGS

GET_MSGS_OK

public static final int GET_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_MSG_DIGEST

public static final int GET_MSG_DIGEST

GET_MSG_DIGEST_OK

public static final int GET_MSG_DIGEST_OK

GET_STATE

public static final int GET_STATE

GET_STATE_OK

public static final int GET_STATE_OK

HEARD_FROM

public static final int HEARD_FROM

MERGE

public static final int MERGE

MERGE_DENIED

public static final int MERGE_DENIED

MERGE_DIGEST

public static final int MERGE_DIGEST

MSG

public static final int MSG

PERF

public static final int PERF

REBROADCAST_MSGS

public static final int REBROADCAST_MSGS

REBROADCAST_MSGS_OK

public static final int REBROADCAST_MSGS_OK

RESUME_STABLE

public static final int RESUME_STABLE

SET_DIGEST

public static final int SET_DIGEST

SET_LOCAL_ADDRESS

public static final int SET_LOCAL_ADDRESS

SET_PARTITIONS

public static final int SET_PARTITIONS

SET_PID

public static final int SET_PID

STABLE

public static final int STABLE

START

public static final int START

START_OK

public static final int START_OK

START_QUEUEING

public static final int START_QUEUEING

STATE_RECEIVED

public static final int STATE_RECEIVED

STOP

public static final int STOP

STOP_OK

public static final int STOP_OK

STOP_QUEUEING

public static final int STOP_QUEUEING

SUBVIEWSET_MERGE

public static final int SUBVIEWSET_MERGE

SUBVIEW_MERGE

public static final int SUBVIEW_MERGE

SUSPECT

public static final int SUSPECT

SUSPEND_STABLE

public static final int SUSPEND_STABLE

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

TMP_VIEW

public static final int TMP_VIEW

UNBLOCK_SEND

public static final int UNBLOCK_SEND

UNSUSPECT

public static final int UNSUSPECT

USER_DEFINED

public static final int USER_DEFINED

VIEW_CHANGE

public static final int VIEW_CHANGE

Constructor Detail

Event

public Event(int type)

Event

public Event(int type, Object arg)

Method Detail

getArg

public Object getArg()

getType

public int getType()

setArg

public void setArg(Object arg)

setType

public void setType(int type)

toString

public String toString()

type2String

public static String type2String(int t)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.