|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.client.FlushResult
flex.messaging.client.PollFlushResult
public class PollFlushResult
Extends FlushResult and adds additional properties for controlling client polling behavior.
| Constructor Summary | |
|---|---|
PollFlushResult()
|
|
| Method Summary | |
|---|---|
boolean |
isAvoidBusyPolling()
Indicates whether the handling of this result should attempt to avoid potential busy-polling cycles. |
boolean |
isClientProcessingSuppressed()
Indicates whether client processing of this result should be suppressed. |
void |
setAvoidBusyPolling(boolean value)
Set to true to signal that handling for this result should attempt to avoid
potential busy-polling cycles. |
void |
setClientProcessingSuppressed(boolean value)
Set to true to suppress client processing of this result. |
| Methods inherited from class flex.messaging.client.FlushResult |
|---|
getMessages, getNextFlushWaitTimeMillis, setMessages, setNextFlushWaitTimeMillis |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PollFlushResult()
| Method Detail |
|---|
public boolean isAvoidBusyPolling()
true in the case of two clients that are both
long-polling the server over the same session.
true if the handling of this result should attempt to avoid potential
busy-polling cycles.public void setAvoidBusyPolling(boolean value)
true to signal that handling for this result should attempt to avoid
potential busy-polling cycles.
value - true to signal that handling for this result should attempt to
avoid potential busy-polling cycles.public boolean isClientProcessingSuppressed()
true for results generated for poll requests
that arrive while a long-poll request from the same client is being serviced
to avoid a busy polling cycle.
true if client processing of this result should be suppressed;
otherwise false.public void setClientProcessingSuppressed(boolean value)
true to suppress client processing of this result.
Default is false.
This should be set to true for results generated for poll requests
that arrive while a long-poll request from the same client is being serviced
to avoid a busy polling cycle.
value - true to suppress client processing of the result.
|
||||||||||
| 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/blazeds/1/javadoc/flex/messaging/client/PollFlushResult.html