All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdce.util.event.jdceEvent

java.lang.Object
   |
   +----jdce.util.event.jdceEvent

public class jdceEvent
extends Object
implements Serializable
Version:
0.5 20 April 1998
Author:
Shrideep Pallickara

Variable Index

 o CLIENT_EXPEL
 o CLIENT_JOIN
 o CLIENT_LEAVE
 o clientName
The clientName
 o type
The event type

Constructor Index

 o jdceEvent()
The VOID constructor
 o jdceEvent(String, int)
jdceEvent the constructor for the jdceEvent class.

Method Index

 o getClientName()
 o getType()
 o setClientName(String)
 o setType(int)
 o typeToString()
typeToString converts an event type into a string describing it.

Variables

 o CLIENT_JOIN
 public static final int CLIENT_JOIN
 o CLIENT_LEAVE
 public static final int CLIENT_LEAVE
 o CLIENT_EXPEL
 public static final int CLIENT_EXPEL
 o type
 protected int type
The event type

 o clientName
 protected String clientName
The clientName

Constructors

 o jdceEvent
 public jdceEvent()
The VOID constructor

 o jdceEvent
 public jdceEvent(String _clientName,
                  int _type)
jdceEvent the constructor for the jdceEvent class. A new jdce event is generated for a client action for a specific coordinator.

Parameters:
clientName - the name of the client.
type - the Event type.

Methods

 o setClientName
 public void setClientName(String _clientName)
 o getClientName
 public String getClientName()
 o setType
 public void setType(int _type)
 o getType
 public int getType()
 o typeToString
 public String typeToString()
typeToString converts an event type into a string describing it.

Parameters:
type - the event type.
Returns:
a String describing this type of event.

All Packages  Class Hierarchy  This Package  Previous  Next  Index