|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.remoting.transport.async.bio.BlockingChannel
The Blocking implementation of the AsynchChannel interface. This implemenation uses the standard Java 1.3 blocking socket IO.
| Constructor Summary | |
BlockingChannel()
|
|
| Method Summary | |
void |
close()
Starts to terminate the connection. |
InvokerLocator |
getRemoteURI()
|
void |
init(InvokerLocator localURI,
Socket socket)
|
void |
open(ChannelListner listner)
starts an accepted connection. |
void |
open(InvokerLocator remoteURI,
ChannelListner listner)
opens a connection to another server. |
void |
run()
|
void |
send(byte[][] data)
Sends an asynch packet of data down the channel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BlockingChannel()
| Method Detail |
public void open(InvokerLocator remoteURI,
ChannelListner listner)
throws IOException,
ConnectionFailedException
Channel
open in interface ChannelremoteURI - listner -
ConnectionFailedException
IOException
public void init(InvokerLocator localURI,
Socket socket)
throws IOException
IOException
public void open(ChannelListner listner)
throws IOException
Channel
open in interface Channellistner -
IOException
public void send(byte[][] data)
throws IOException
Channel
send in interface ChannelIOExceptionpublic void run()
run in interface Runnablepublic void close()
close in interface Channelorg.jboss.remoting.transport.async.AsynchChannel#close()public InvokerLocator getRemoteURI()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||