|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.sun.media.jsdt.event.ClientEvent
The Client event. Client events are created for the following actions:
- when a Client has been invited to join a ByteArray. - when a Client has been expelled from a ByteArray. - when a Client has been invited to join a Channel. - when a Client has been expelled from a Channel. - when a Client has been invited to join a Session. - when a Client has been expelled from a Session. - when a Client has been invited to join a Token. - when a Client has been expelled from a Token. - when a Client has been given a Token.
Field Summary | |
static int |
BYTEARRAY_EXPELLED
The Client ByteArray expelled event type. |
static int |
BYTEARRAY_INVITED
The Client ByteArray invited event type. |
static int |
CHANNEL_EXPELLED
The Client Channel expelled event type. |
static int |
CHANNEL_INVITED
The Client Channel invited event type. |
protected java.lang.String |
resourceName
The name of the resource that this event occured on. |
static int |
SESSION_EXPELLED
The Client Session expelled event type. |
static int |
SESSION_INVITED
The Client Session invited event type. |
static int |
TOKEN_EXPELLED
The Client Token expelled event type. |
static int |
TOKEN_GIVEN
The Client Token given event type. |
static int |
TOKEN_INVITED
The Client Token invited event type. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ClientEvent(Session session,
Client client,
java.lang.String resourceName,
int type)
constructor for the ClientEvent class. |
Method Summary | |
java.lang.String |
getResourceName()
get the name of the resource for this event. |
Session |
getSession()
get the Session associated with this event. |
java.lang.String |
toString()
toString print a short description of this Client event. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int BYTEARRAY_INVITED
public static final int BYTEARRAY_EXPELLED
public static final int CHANNEL_INVITED
public static final int CHANNEL_EXPELLED
public static final int SESSION_INVITED
public static final int SESSION_EXPELLED
public static final int TOKEN_INVITED
public static final int TOKEN_EXPELLED
public static final int TOKEN_GIVEN
protected java.lang.String resourceName
Constructor Detail |
public ClientEvent(Session session, Client client, java.lang.String resourceName, int type)
client
- the Client associated with this Client event.resourceName
- the name of the ByteArray/Channel/Session/Token.type
- the type of event.Method Detail |
public Session getSession()
public java.lang.String getResourceName()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |