|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageReceiver
Interface MessageReceiver Objects of this type can receive messages. They can be in fact routing destination depending on target address. Message are routed to proper destination in MessageRouter class. Created: Tue Nov 22 07:07:11 2005
Method Summary | |
---|---|
boolean |
addPacket(Packet packet)
Describe addPacket method here. |
boolean |
addPacketNB(Packet packet)
|
boolean |
addPackets(Queue<Packet> packets)
Describe addPackets method here. |
String |
getDefHostName()
|
boolean |
isInRegexRoutings(String address)
|
void |
setParent(MessageReceiver msg_rec)
Describe setParent method here. |
void |
start()
|
Methods inherited from interface tigase.server.ServerComponent |
---|
getComponentId, getName, initializationCompleted, processPacket, release, setName |
Method Detail |
---|
boolean isInRegexRoutings(String address)
boolean addPacket(Packet packet)
addPacket
method here.
packet
- a Packet
value
boolean
value true
if packet has been
successfully added, false
otherwise.boolean addPacketNB(Packet packet)
boolean addPackets(Queue<Packet> packets)
addPackets
method here.
packets
-
boolean
valuevoid setParent(MessageReceiver msg_rec)
setParent
method here.
msg_rec
- a MessageReceiver
valueString getDefHostName()
void start()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |