Package me.tamkungz.nilkit.network
Class Connection
java.lang.Object
me.tamkungz.nilkit.network.Connection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenqueue(ByteBuffer buffer) voidensureReadBufferWritable(int minWritableBytes) voidintbooleanbooleanisOpen()
-
Constructor Details
-
Connection
-
-
Method Details
-
getChannel
-
isOpen
public boolean isOpen() -
getReadBuffer
-
ensureReadBufferWritable
public void ensureReadBufferWritable(int minWritableBytes) -
enqueue
-
hasOutboundData
public boolean hasOutboundData() -
getPendingWriteCount
public int getPendingWriteCount() -
flushOutbound
- Throws:
IOException
-