Class Msg.Builder
java.lang.Object
zmq.Msg
zmq.Msg.Builder
- Enclosing class:
Msg
-
Nested Class Summary
Nested classes/interfaces inherited from class Msg
Msg.Builder, Msg.Type -
Field Summary
FieldsFields inherited from class Msg
COMMAND, CREDENTIAL, IDENTITY, MAX_GROUP_LENGTH, MORE, SHARED -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Msg
buf, check, data, fd, flags, get, get, getBytes, getBytes, getGroup, getInt, getLong, getMetadata, getRoutingId, getShort, getWriteIndex, hasMore, initDelimiter, initJoin, initLeave, isCommand, isCredential, isDelimiter, isIdentity, isJoin, isLeave, put, put, put, put, resetFlags, resetMetadata, resetRoutingId, setFd, setGroup, setMetadata, setRoutingId, setWriteIndex, toString, transfer
-
Field Details
-
out
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
size
-
put
-
put
-
put
-
putShortString
Description copied from class:MsgPuts a string into the message, prefixed with its length. Users shall size the message by adding 1 to the length of the string: It needs to be able to accommodate (data.length+1) more bytes.- Overrides:
putShortStringin classMsg- Parameters:
data- a string shorter than 256 characters. If null, defaults to a no-op.- Returns:
- the same message.
-
setFlags
-
build
-