Hide protocol detail from users
This commit is contained in:
parent
215e75c7d9
commit
d31a3e4120
@ -30,7 +30,7 @@ public abstract class BinaryMemcacheEncoder<M extends BinaryMemcacheMessage<H>,
|
|||||||
/**
|
/**
|
||||||
* Every binary memcache message has at least a 24 bytes header.
|
* Every binary memcache message has at least a 24 bytes header.
|
||||||
*/
|
*/
|
||||||
public static final int DEFAULT_BUFFER_SIZE = 24;
|
private static final int DEFAULT_BUFFER_SIZE = 24;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected ByteBuf encodeMessage(ChannelHandlerContext ctx, M msg) {
|
protected ByteBuf encodeMessage(ChannelHandlerContext ctx, M msg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user