|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Transport
Represents an abstract connection. It can be a client side or server side connection.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.fusesource.fabric.dosgi.io.Service |
|---|
start, start, stop, stop |
| Methods inherited from interface org.fusesource.fabric.dosgi.api.Dispatched |
|---|
queue |
| Method Detail |
|---|
boolean 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||