|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
net.jxta.rendezvous.RendezvousEvent
public class RendezvousEvent
Container for Rendezvous Service events. The source of the event is the rendezvous service generating the event
Field Summary | |
---|---|
static int |
BECAMEEDGE
Node has become a edge |
static int |
BECAMERDV
Node has become a rendezvous |
static int |
CLIENTCONNECT
Client connection event |
static int |
CLIENTDISCONNECT
Client disconnection event |
static int |
CLIENTFAILED
Client connection failure |
static int |
CLIENTRECONNECT
Client Connection renewal event |
static int |
RDVCONNECT
Rendezvous connection event |
static int |
RDVDISCONNECT
Rendezvous disconnection event |
static int |
RDVFAILED
Rendezvous connection failure |
static int |
RDVRECONNECT
Connection renewal event |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
RendezvousEvent(Object source,
int type,
ID peer)
Creates a new event |
Method Summary | |
---|---|
String |
getPeer()
Returns peerid |
ID |
getPeerID()
Returns peerid |
int |
getType()
Returns the event type |
String |
toString()
|
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 RDVCONNECT
public static final int RDVRECONNECT
public static final int CLIENTCONNECT
public static final int CLIENTRECONNECT
public static final int RDVDISCONNECT
public static final int RDVFAILED
public static final int CLIENTDISCONNECT
public static final int CLIENTFAILED
public static final int BECAMERDV
public static final int BECAMEEDGE
Constructor Detail |
---|
public RendezvousEvent(Object source, int type, ID peer)
source
- The rendezvous service which generated the event.type
- the event type.peer
- the peer associated with the event.Method Detail |
---|
public String toString()
toString
in class EventObject
public int getType()
public String getPeer()
public ID getPeerID()
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |