|
|||||||||||
| 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(InvokerLocator uri,
ChannelListner listner)
opens a connection to another server. |
void |
send(byte[][] data)
Sends an asynch packet of data down the channel. |
| Method Detail |
public void open(InvokerLocator uri,
ChannelListner listner)
throws IOException,
ConnectionFailedException
uri - listner -
IOException
ConnectionFailedException
public void open(ChannelListner listner)
throws IOException
listner -
IOException
public void close()
throws IOException
IOException
public void send(byte[][] data)
throws IOException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||