|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.client.FlexClientOutboundQueueProcessor
public class FlexClientOutboundQueueProcessor
The base FlexClientOutboundQueueProcessor implementation used if a custom implementation is not specified. Its behavior is very simple. It adds all new messages in order to the tail of the outbound queue and flushes all queued messages to the network as quickly as possible.
| Constructor Summary | |
|---|---|
FlexClientOutboundQueueProcessor()
|
|
| Method Summary | |
|---|---|
void |
add(List outboundQueue,
Message message)
Always adds a new message to the tail of the queue. |
FlushResult |
flush(List outboundQueue)
Always empties the queue and returns all messages to be sent to the client. |
FlushResult |
flush(MessageClient client,
List outboundQueue)
Removes all messages in the queue targeted to this specific MessageClient subscription(s) and returns them to be sent to the client. |
String |
getEndpointId()
Returns the Id for the outbound queue's endpoint. |
FlexClient |
getFlexClient()
Returns the associated FlexClient. |
void |
initialize(ConfigMap properties)
No-op; this default implementation doesn't require custom initialization. |
boolean |
isMessageExpired(Message message)
Utility method to test whether a message has expired or not. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlexClientOutboundQueueProcessor()
| Method Detail |
|---|
public String getEndpointId()
public FlexClient getFlexClient()
public void initialize(ConfigMap properties)
properties - A ConfigMap containing any custom initialization properties.
public void add(List outboundQueue,
Message message)
outboundQueue - The queue of outbound messages.message - The new message to add to the queue.public FlushResult flush(List outboundQueue)
outboundQueue - The queue of outbound messages.
public FlushResult flush(MessageClient client,
List outboundQueue)
client - The specific MessageClient to return messages for.outboundQueue - The queue of outbound messages.
public boolean isMessageExpired(Message message)
message - The message to test for expiration.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/client/FlexClientOutboundQueueProcessor.html