net.jxta.rendezvous
Class RendezvousEvent
java.lang.Object
java.util.EventObject
net.jxta.rendezvous.RendezvousEvent
- All Implemented Interfaces:
- Serializable
- public class RendezvousEvent
- extends EventObject
Container for RendezvousEvent events. The source of the event is the
rendezvous service which
- See Also:
- Serialized Form
RDVCONNECT
public static final int RDVCONNECT
- See Also:
- Constant Field Values
RDVRECONNECT
public static final int RDVRECONNECT
- See Also:
- Constant Field Values
CLIENTCONNECT
public static final int CLIENTCONNECT
- See Also:
- Constant Field Values
CLIENTRECONNECT
public static final int CLIENTRECONNECT
- See Also:
- Constant Field Values
RDVDISCONNECT
public static final int RDVDISCONNECT
- See Also:
- Constant Field Values
RDVFAILED
public static final int RDVFAILED
- See Also:
- Constant Field Values
CLIENTDISCONNECT
public static final int CLIENTDISCONNECT
- See Also:
- Constant Field Values
CLIENTFAILED
public static final int CLIENTFAILED
- See Also:
- Constant Field Values
BECAMERDV
public static final int BECAMERDV
- See Also:
- Constant Field Values
BECAMEEDGE
public static final int BECAMEEDGE
- See Also:
- Constant Field Values
RendezvousEvent
public RendezvousEvent(Object source,
int type,
ID peer)
- Creates a new event
- Parameters:
source
- The rendezvous service which generated the event.type
- the event type.peer
- the peer associated with the event.
toString
public String toString()
-
getType
public int getType()
- Returns the event type
- Returns:
- int type
getPeer
public String getPeer()
- Returns peerid
- Returns:
- the peer associated with the event
getPeerID
public ID getPeerID()
- Returns peerid
- Returns:
- the peer associated with the event