abstract class ConnectionIO extends Object
Modifier and Type | Field and Description |
---|---|
(package private) Mux |
mux
the Mux object associated with this instance
|
Constructor and Description |
---|
ConnectionIO(Mux mux)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
(package private) abstract void |
asyncSend(ByteBuffer buffer)
Sends the sequence of bytes contained in the supplied buffer to the
underlying connection.
|
(package private) abstract void |
asyncSend(ByteBuffer first,
ByteBuffer second)
Sends the sequence of bytes contained in the supplied buffers to the
underlying connection.
|
(package private) abstract IOFuture |
futureSend(ByteBuffer first,
ByteBuffer second)
Sends the sequence of bytes contained in the supplied buffers to the
underlying connection.
|
(package private) abstract void |
start()
Start whatever asynchronous activities are required for implementing
this instance.
|
final Mux mux
ConnectionIO(Mux mux)
abstract void start() throws IOException
IOException
abstract void asyncSend(ByteBuffer buffer)
abstract void asyncSend(ByteBuffer first, ByteBuffer second)
abstract IOFuture futureSend(ByteBuffer first, ByteBuffer second)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.