|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.transport.platform.nio.selector.AbstractSocketChannelContext
org.ow2.petals.transport.platform.nio.selector.InputSocketChannelContext
public class InputSocketChannelContext
The socket channel context of an input socket. It contains following information:
| Field Summary |
|---|
| Fields inherited from class org.ow2.petals.transport.platform.nio.selector.AbstractSocketChannelContext |
|---|
directBuffer, INTEGER_SIZE_BYTE, isIOPending, msgExRemainingBytes, socketChannel |
| Constructor Summary | |
|---|---|
InputSocketChannelContext(java.nio.channels.SocketChannel socketChannel,
PipedDeserializer deserializer,
NioServer nioServer)
Constructor to use on server socket channel |
|
| Method Summary | |
|---|---|
void |
read(java.nio.channels.SelectionKey key)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputSocketChannelContext(java.nio.channels.SocketChannel socketChannel,
PipedDeserializer deserializer,
NioServer nioServer)
throws java.net.SocketException
socketChannel - The socket channel on which a context must be created.onReadCallback - The callback of the server agent to use when reading bytes.
java.net.SocketException| Method Detail |
|---|
public void read(java.nio.channels.SelectionKey key)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||