net.jxta.impl.endpoint.tls
Class TlsTransport.TlsLoopbackMessenger
java.lang.Object
net.jxta.util.AbstractSimpleSelectable
net.jxta.endpoint.AbstractMessenger
net.jxta.impl.endpoint.BlockingMessenger
net.jxta.impl.endpoint.LoopbackMessenger
net.jxta.impl.endpoint.tls.TlsTransport.TlsLoopbackMessenger
- All Implemented Interfaces:
- Messenger, SimpleSelectable
- Enclosing class:
- TlsTransport
class TlsTransport.TlsLoopbackMessenger
- extends LoopbackMessenger
Extends LoopbackMessenger to add a message property to passed messages
so that TLS pipes and other users can be sure that the message
originate with the local TLS transport.
Fields inherited from interface net.jxta.endpoint.Messenger |
ANYSTATE, BREAKING, BROKEN, CLOSED, CLOSING, CONNECTED, DISCONNECTED, DISCONNECTING, IDLE, RECONCLOSING, RECONNECTING, RECONSATURATED, RESOLCLOSING, RESOLPENDING, RESOLSATURATED, RESOLVED, RESOLVING, SATURATED, SENDING, SENDINGSATURATED, TERMINAL, UNRESOLVABLE, UNRESOLVED, UNRESOLVING, USABLE |
Methods inherited from class net.jxta.impl.endpoint.BlockingMessenger |
close, getChannelMessenger, getDestAddressToUse, getLogicalDestinationAddress, getState, isClosed, resolve, sendMessageB, sendMessageN, setOwner, shutdown |
Methods inherited from class net.jxta.endpoint.AbstractMessenger |
flush, getDestinationAddress, getDestinationAddressObject, getMTU, isIdle, isSynchronous, itemChanged, sendMessage, sendMessage, sendMessage, setStateLock, waitState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TlsTransport.TlsLoopbackMessenger
TlsTransport.TlsLoopbackMessenger(EndpointService ep,
EndpointAddress src,
EndpointAddress dest,
EndpointAddress logicalDest)
sendMessageBImpl
public boolean sendMessageBImpl(Message message,
String service,
String serviceParam)
throws IOException
- Sends a message to the destination
- Overrides:
sendMessageBImpl
in class LoopbackMessenger
- Parameters:
message
- the message to send.service
- Optionally replaces the service in the destination
address. If null then the destination address's default service
will be used.serviceParam
- Optionally replaces the service param in the
destination address. If null then the destination address's default service
parameter will be used.
- Throws:
IOException