public interface DeviceMessageQueue
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DeviceMessageQueue.Entry
Entry that can be added to the queue.
|
static interface |
DeviceMessageQueue.EntryBuilder
Builder for device message queue entries.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceMessageQueue.EntryBuilder |
createEntryBuilder(String message)
Creates a new device message queue entry builder with the given message.
|
String |
dequeue(String path)
Dequeue message
|
DeviceMessageQueue.Entry |
dequeueEntry(String path)
Dequeue message and payload
|
void |
queue(String path,
String message)
Queue message
|
void |
queueEntry(String path,
DeviceMessageQueue.Entry entry)
Queue message and payload
|
void queueEntry(String path, DeviceMessageQueue.Entry entry)
path - The path of the resource that this message belongs.entry - The message queue entry.DeviceMessageQueue.Entry dequeueEntry(String path)
path - The path of the resource that this message belongs.null if the queue is empty.DeviceMessageQueue.EntryBuilder createEntryBuilder(String message)
message - the message for the entry.void queue(String path, String message)
path - The path of the resource that this message belongs.message - A simple message with no payload."Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"