public interface CommunicationProtocolContext
CommunicationProtocolSource
.Modifier and Type | Method and Description |
---|---|
Charset |
getDefaultCharset()
Obtains the default
Charset for the server. |
int |
getSendBufferSize()
Obtains the size of the
ByteBuffer instances for writing. |
int getSendBufferSize()
Obtains the size of the ByteBuffer
instances for writing. The
WriteBuffer
sizes for data should not exceed this value.
This allows the CommunicationProtocolSource
to create buffers
that match size to reduce the amount of copy routines required.
Copyright © 2005–2016. All rights reserved.