|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Background communication handler interface. A JayPacketListener has to react to a couple of incoming events.
Method Summary | |
void |
getAvailable(JID from)
A new user got available. |
void |
getCapability(JID from,
Capability packet)
A user sent you its clients capability. |
void |
getListModification(JID from,
ListModification packet)
A user sent you its list modification timestamp. |
void |
getListReply(JID from,
ListReply packet)
A user sent you its export list. |
void |
getListRequest(JID from,
ListRequest packet)
A user requests your export list. |
void |
getServiceReply(JID from,
ServiceReply packet)
A user answered your service request. |
void |
getServiceRequest(JID from,
ServiceRequest packet)
A user requests your service information. |
void |
getUnavailable(JID from)
A user dropped. |
Method Detail |
public void getAvailable(JID from)
from
- is the ariving user.public void getUnavailable(JID from)
from
- is the leaving user.public void getListModification(JID from, ListModification packet)
from
- is the user.packet
- is the list modification timestamp.public void getCapability(JID from, Capability packet)
from
- is the user.packet
- is the capability record.public void getListRequest(JID from, ListRequest packet)
is
- the requesting user.packet
- is an empty packet.public void getListReply(JID from, ListReply packet)
from
- is the user.packet
- is the export list.public void getServiceRequest(JID from, ServiceRequest packet)
from
- is the requesting user.packet
- is an empty packet.public void getServiceReply(JID from, ServiceReply packet)
from
- is the user.packet
- is the service information.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |