|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.geronimo.proxy.SimpleComponent
org.apache.geronimo.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. |
AsyncMsg |
deserialize(ByteBuffer[] message)
|
URI |
getRemoteURI()
|
URI |
getRequestedURI()
|
void |
init(URI localURI,
SocketChannel socketChannel)
|
void |
open(ChannelListner listner)
starts an accepted connection. |
void |
open(URI remoteURI,
URI backConnectURI,
ChannelListner listner)
opens a connection to another server. |
void |
run()
|
void |
send(AsyncMsg data)
Sends an asynch packet of data down the channel. |
| Methods inherited from class org.apache.geronimo.proxy.SimpleComponent |
getContainer, getObjectName, setContainer, setObjectName |
| 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(URI remoteURI,
URI backConnectURI,
ChannelListner listner)
throws TransportException
Channel
open in interface ChannelremoteURI - listner -
TransportException
public void init(URI localURI,
SocketChannel socketChannel)
throws IOException,
URISyntaxException
IOException
URISyntaxException
public void open(ChannelListner listner)
throws TransportException
Channel
open in interface Channellistner -
TransportException
public void send(AsyncMsg data)
throws TransportException
Channel
send in interface ChannelTransportException
public AsyncMsg deserialize(ByteBuffer[] message)
throws IOException
IOExceptionpublic void run()
run in interface Runnablepublic void close()
close in interface Channelpublic URI getRemoteURI()
public URI getRequestedURI()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||