static final class ChunkedPipelineConnection.ProtocolHelper
extends java.lang.Object
Protocol support
from ProtocolBase. Stays here until update of the interface
to allow for sharing of the codebase.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ChunkedPipelineConnection.ProtocolHelper.Buffer |
| Constructor and Description |
|---|
ProtocolHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
calcReqBuffSize(Command cmd,
byte[]... args) |
static byte[] |
writeRequestToBuffer(ChunkedPipelineConnection.ProtocolHelper.Buffer buffer,
Command cmd,
byte[]... args) |
public static int calcReqBuffSize(Command cmd, byte[]... args) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic static byte[] writeRequestToBuffer(ChunkedPipelineConnection.ProtocolHelper.Buffer buffer, Command cmd, byte[]... args) throws ProviderException, java.lang.IllegalArgumentException
ProviderExceptionjava.lang.IllegalArgumentException