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.


Field Summary
static int BECOME_SERVER
           
static int BLOCK
           
static int BLOCK_OK
           
static int BLOCK_SEND
           
static int CLEANUP
           
static int CLEANUP_OK
           
static int CONFIG
           
static int CONNECT
           
static int CONNECT_OK
           
static int DISCONNECT
           
static int DISCONNECT_OK
           
static int DROP_NEXT_MSG
           
static int EXIT
           
static int FIND_INITIAL_MBRS
           
static int FIND_INITIAL_MBRS_OK
           
static int FLUSH
           
static int FLUSH_OK
           
static int GET_APPLSTATE
           
static int GET_APPLSTATE_OK
           
static int GET_DIGEST
           
static int GET_DIGEST_OK
           
static int GET_DIGEST_STATE
           
static int GET_DIGEST_STATE_OK
           
static int GET_LOCAL_ADDRESS
           
static int GET_MSG_DIGEST
           
static int GET_MSG_DIGEST_OK
           
static int GET_MSGS
           
static int GET_MSGS_OK
           
static int GET_MSGS_RECEIVED
           
static int GET_MSGS_RECEIVED_OK
           
static int GET_STATE
           
static int GET_STATE_OK
           
static int HEARD_FROM
           
static int MERGE
           
static int MERGE_DENIED
           
static int MERGE_DIGEST
           
static int MSG
           
static int PERF
           
static int REBROADCAST_MSGS
           
static int REBROADCAST_MSGS_OK
           
static int SET_DIGEST
           
static int SET_LOCAL_ADDRESS
           
static int SET_PARTITIONS
           
static int SET_PID
           
static int STABLE
           
static int START
           
static int START_OK
           
static int START_QUEUEING
           
static int STATE_RECEIVED
           
static int STOP
           
static int STOP_OK
           
static int STOP_QUEUEING
           
static int SUBVIEW_MERGE
           
static int SUBVIEWSET_MERGE
           
static int SUSPECT
           
static int SWITCH_NAK
           
static int SWITCH_NAK_ACK
           
static int SWITCH_OUT_OF_BAND
           
static int TMP_VIEW
           
static int UNBLOCK_SEND
           
static int UNSUSPECT
           
static int USER_DEFINED
           
static int VIEW_CHANGE
           
 
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)
           
 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
 

Field Detail

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
Constructor Detail

Event

public Event(int type)

Event

public Event(int type,
             java.lang.Object arg)
Method Detail

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.