public class WriteAds extends IndexAds
AdsCommand.Cmd| Modifier and Type | Field and Description |
|---|---|
private ByteBuffer |
submit |
COMMANDREQUEST, RESERVED| Constructor and Description |
|---|
WriteAds(int groupidx,
long offidx,
ByteBuffer data) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPayloadLength()
Returns the length of the payload for the command to send.
|
AdsPayload |
parse(ByteBuffer full,
AdsHeader h)
Parses the reply payload.
|
AdsPayload |
preparePayload(AdsSocketChannel io,
AdsHeader h)
Prepares the payload.
|
getGroup, getIndexLength, getOffset, parseGroup, parseOffsetgetFlag, prepareHeaderprivate final ByteBuffer submit
public WriteAds(int groupidx,
long offidx,
ByteBuffer data)
commandid - public long getPayloadLength()
AdsCommandgetPayloadLength in class AdsCommandpublic AdsPayload preparePayload(AdsSocketChannel io, AdsHeader h)
AdsCommandpreparePayload in class AdsCommandpublic AdsPayload parse(ByteBuffer full, AdsHeader h)
AdsCommandparse in class AdsCommand