Modifier and Type | Class and Description |
---|---|
static class |
UnknownProtocol.Builder
Builder (mutable) used to create new protocol instances.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
bytes()
Returns a copy of the payload bytes.
|
ProtocolId |
id()
Returns the protocol ID.
|
String |
toDebugString()
Returns the protocol debug string.
|
String |
toString() |
public ProtocolId id()
Protocol
public byte[] bytes()
public String toDebugString()
Protocol
toDebugString
in interface Protocol
Copyright © 2015. All Rights Reserved.