| Constructor and Description |
|---|
SocketIOChannel(ByteChannel channel,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
shutdownInput()
Shutdown the connection for reading.
|
void |
shutdownOutput()
Shutdown the connection for writing.
|
void |
transfer(int position,
int count,
WritableByteChannel dstChannel)
Will be used when performing direct transfer operations from OS cache.
|
close, getInputStream, hasReachedEnd, read, readFull, writepublic SocketIOChannel(ByteChannel channel, int size) throws IOException
IOExceptionpublic void transfer(int position,
int count,
WritableByteChannel dstChannel)
throws IOException
transfer in class Channelposition - starting position of the bytes to be transferred.count - number of bytes to be transferred.dstChannel - destination channel to transfer.IOException - during I/O error.public void shutdownInput()
throws IOException
IOException - If some other I/O error occurs.public void shutdownOutput()
throws IOException
IOException - If some other I/O error occurs.Copyright © 2018 WSO2. All rights reserved.