public interface Transport extends Service, Dispatched
| Modifier and Type | Method and Description |
|---|---|
boolean |
full() |
ProtocolCodec |
getProtocolCodec() |
java.lang.String |
getRemoteAddress() |
TransportListener |
getTransportListener()
Returns the current transport listener
|
boolean |
isConnected() |
boolean |
isDisposed() |
boolean |
offer(java.lang.Object command)
A one way asynchronous send of a command.
|
void |
resumeRead()
resume delivery of commands.
|
void |
setDispatchQueue(org.fusesource.hawtdispatch.DispatchQueue queue)
Sets the dispatch queue used by the transport
|
void |
setProtocolCodec(ProtocolCodec protocolCodec)
Sets the protocol codec for the transport
|
void |
setTransportListener(TransportListener commandListener)
Registers an inbound command listener
|
void |
suspendRead()
suspend delivery of commands.
|
queueboolean full()
boolean offer(java.lang.Object command)
command - TransportListener getTransportListener()
void setTransportListener(TransportListener commandListener)
commandListener - void setDispatchQueue(org.fusesource.hawtdispatch.DispatchQueue queue)
queue - void suspendRead()
void resumeRead()
java.lang.String getRemoteAddress()
boolean isDisposed()
boolean isConnected()
ProtocolCodec getProtocolCodec()
void setProtocolCodec(ProtocolCodec protocolCodec)
protocolCodec - Copyright © 2014 Red Hat. All Rights Reserved.