|
Siena (v.1.5.5) API documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PacketSenderFactory
creates PacketSenders based on the external address of their
corresponding receivers.
Creates PacketSender objects based on the external representation
(handler) of their intended receivers. In other words, given the
address of a receiver
, it returns
a PacketSender object that can be used to send packets to that
receiver.
Method Summary | |
---|---|
PacketSender |
createPacketSender(java.lang.String handler)
creates a PacketSender object based on the external address of its intended receiver. |
Method Detail |
---|
PacketSender createPacketSender(java.lang.String handler) throws InvalidSenderException
PacketSender
object based on the external
string representation (handler) of its intended receivers.
Given the address of a
receiver
, returns a PacketSender object that can be used to
send packets to that receiver.
Implementations may be used through a GenericSenderFactory
(see GenericSenderFactory.registerFactory(String,PacketSenderFactory)
handler
- receiver's address
InvalidSenderException
|
Siena (v.1.5.5) API documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |