|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An AsynchChannel allows you to transport bytes of data back and forth between a client and a server in a async manner. This interace abstraction is here so that it can be implemented using both the Blocking and Non-blocking IO APIs.
Method Summary | |
void |
close()
|
void |
open(ChannelListner listner)
starts an accepted connection. |
void |
open(URI uri,
URI backConnectURI,
ChannelListner listner)
opens a connection to another server. |
void |
send(AsyncMsg data)
Sends an asynch packet of data down the channel. |
Method Detail |
public void open(URI uri, URI backConnectURI, ChannelListner listner) throws TransportException
uri
- listner
-
IOException
ConnectionFailedException
TransportException
public void open(ChannelListner listner) throws TransportException
listner
-
IOException
TransportException
public void close() throws TransportException
TransportException
public void send(AsyncMsg data) throws TransportException
TransportException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |