|
Project JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageTransport
A MessageTransport is responsible for sending and/or receiving JXTA messages from an external network. A MessageTransport may use whatever protocol it wishes in transporting messages. Messages passed to MessageTransports are required to pass the messages cleanly (unaltered).
EndpointService
,
EndpointAddress
,
MessageSender
,
MessageReceiver
Method Summary | |
---|---|
EndpointService |
getEndpointService()
Returns the endpoint service with which this MessageTransport is registered. |
String |
getProtocolName()
Returns a String containing the name of the protocol used by this MessageTransport. |
Object |
transportControl(Object operation,
Object value)
Deprecated. Under development, may change. |
Method Detail |
---|
String getProtocolName()
EndpointAddress
.
EndpointService getEndpointService()
Object transportControl(Object operation, Object value)
operation
- Object that specifies the type of control operation
to be performedvalue
- Object that specifies a value object associated
with the control operation
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |