Package | Description |
---|---|
org.zeromq.api |
Modifier and Type | Field and Description |
---|---|
static Message.Frame |
RoutedMessage.Route.BLANK |
static Message.Frame |
Message.EMPTY_FRAME
A handy reference to an empty
Message.Frame . |
Modifier and Type | Method and Description |
---|---|
Message.Frame |
Message.FrameBuilder.build()
Build a frame containing the data in the underlying buffer.
|
Message.Frame |
Message.getFirstFrame()
Return the first frame in the list.
|
static Message.Frame |
Message.Frame.of(byte value)
Create a frame containing a single
byte value. |
static Message.Frame |
Message.Frame.of(byte[] value)
Create a frame containing a single
byte[] value. |
static Message.Frame |
Message.Frame.of(ByteBuffer buffer)
Create a frame containing the given buffer.
|
static Message.Frame |
Message.Frame.of(int value)
Create a frame containing a single
int value. |
static Message.Frame |
Message.Frame.of(List<String> values)
Create a frame containing a single List of String values.
|
static Message.Frame |
Message.Frame.of(long value)
Create a frame containing a single
long value. |
static Message.Frame |
Message.Frame.of(Map<String,String> values)
Create a frame containing a single Map of String pairs.
|
static Message.Frame |
Message.Frame.of(short value)
Create a frame containing a single
short value. |
static Message.Frame |
Message.Frame.of(String value)
Create a frame containing a single String value.
|
Message.Frame |
Message.popFrame()
Remove a frame from the beginning of the list.
|
Modifier and Type | Method and Description |
---|---|
List<Message.Frame> |
Message.getFrames()
Return a copy of the list of frames contained in this message.
|
List<Message.Frame> |
RoutedMessage.Route.getRoutingFrames() |
Iterator<Message.Frame> |
Message.iterator()
Returns an iterator over the frames in this message.
|
Modifier and Type | Method and Description |
---|---|
Message |
Message.addFrame(Message.Frame frame)
Add a frame to the end of the list.
|
Message |
Message.pushFrame(Message.Frame frame)
Add a frame to the beginning of the list.
|
Modifier and Type | Method and Description |
---|---|
Message |
Message.addFrames(List<Message.Frame> frames)
Add the given frames to the end of the list.
|
Message |
Message.pushFrames(List<Message.Frame> frames)
Add frames to the beginning of the list, in reverse order, such that the
elements are in the same order as in the original List.
|
Constructor and Description |
---|
Message(Message.Frame firstFrame)
Construct a message with a single frame.
|
Constructor and Description |
---|
Message(List<Message.Frame> frames)
Construct a message with the given frames.
|
Copyright © 2019. All rights reserved.