Msg.Builder| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Msg |
build() |
Msg |
put(byte[] src,
int off,
int len) |
Msg |
put(ByteBuffer src,
int off,
int len) |
protected Msg |
put(int index,
byte b) |
Msg |
putShortString(String data)
Puts a string into the message, prefixed with its length.
|
void |
setFlags(int flags) |
int |
size() |
buf, check, data, fd, flags, get, get, getBytes, getBytes, getInt, getLong, getMetadata, getShort, getWriteIndex, hasMore, initDelimiter, isCommand, isCredential, isDelimiter, isIdentity, put, put, put, put, resetFlags, resetMetadata, setFd, setMetadata, setWriteIndex, toString, transferpublic Msg put(ByteBuffer src, int off, int len)
public Msg putShortString(String data)
MsgputShortString in class Msgdata - a string shorter than 256 characters. If null, defaults to a no-op.public Msg build()
Copyright © 2020. All rights reserved.