NextApp Echo
App Container 1.0.5

nextapp.echoservlet
Class IncomingUpdateQueue

java.lang.Object
  extended bynextapp.echoservlet.IncomingUpdateQueue
All Implemented Interfaces:
java.io.Serializable

final class IncomingUpdateQueue
extends java.lang.Object
implements java.io.Serializable

Manages incoming updates from the client.


Field Summary
private  boolean delayed
          A flag indicating whether the updates are being delayed due to a client-server synchronization.
private  java.util.Map delayedInputUpdateMap
          A map containing input data submitted through the controller that is being held temporarily during a second controller round-trip to synchronize the client.
private  java.util.Map delayedScrollPositionUpdateMap
          A map containing scrollbar position data submitted through the controller that is being held temporarily during a second controller round-trip to synchronize the client.
 
Constructor Summary
IncomingUpdateQueue()
          Constructor for IncomingUpdateQueue.
 
Method Summary
(package private)  java.util.Map getDelayedInputUpdateMap()
          Returns the delayed input update map, which holds input data from a controller request that requires a second round-trip to the browser.
(package private)  java.util.Map getDelayedScrollPositionUpdateMap()
          Returns the delayed scrollbar position update map, which holds scrollbar position data from a controller request that requires a second round-trip to the browser.
(package private)  boolean isDelayed()
          Returns true if the UpdateQueue is currently delayed due to a client-server resynchronization.
(package private)  void setDelayed(boolean delayed)
          Sets whether the update queue is being delayed by a client-server synchronization.
(package private)  void setDelayedInputUpdateMap(java.util.Map delayedInputUpdateMap)
          Sets the delayed input update map, which holds input data from a controller request that requires a second round-trip to the browser.
(package private)  void setDelayedScrollPositionUpdateMap(java.util.Map delayedScrollPositionUpdateMap)
          Sets the delayed scrollbar position update map, which holds scrollbar position data from a controller request that requires a second round-trip to the browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delayed

private boolean delayed
A flag indicating whether the updates are being delayed due to a client-server synchronization.


delayedInputUpdateMap

private java.util.Map delayedInputUpdateMap
A map containing input data submitted through the controller that is being held temporarily during a second controller round-trip to synchronize the client.


delayedScrollPositionUpdateMap

private java.util.Map delayedScrollPositionUpdateMap
A map containing scrollbar position data submitted through the controller that is being held temporarily during a second controller round-trip to synchronize the client.

Constructor Detail

IncomingUpdateQueue

public IncomingUpdateQueue()
Constructor for IncomingUpdateQueue.

Method Detail

getDelayedInputUpdateMap

java.util.Map getDelayedInputUpdateMap()
Returns the delayed input update map, which holds input data from a controller request that requires a second round-trip to the browser.

Returns:
The delayed input update map.

getDelayedScrollPositionUpdateMap

java.util.Map getDelayedScrollPositionUpdateMap()
Returns the delayed scrollbar position update map, which holds scrollbar position data from a controller request that requires a second round-trip to the browser.

Returns:
The delayed scrollbar position update map.

isDelayed

boolean isDelayed()
Returns true if the UpdateQueue is currently delayed due to a client-server resynchronization.

Returns:
True if the UpdateQueue is delayed.

setDelayed

void setDelayed(boolean delayed)
Sets whether the update queue is being delayed by a client-server synchronization. If set to false, clears all delayed input data.

Parameters:
delayed - The new delayed state.

setDelayedInputUpdateMap

void setDelayedInputUpdateMap(java.util.Map delayedInputUpdateMap)
Sets the delayed input update map, which holds input data from a controller request that requires a second round-trip to the browser.

Parameters:
delayedInputUpdateMap - A map containing the input parameters received by the controller.

setDelayedScrollPositionUpdateMap

void setDelayedScrollPositionUpdateMap(java.util.Map delayedScrollPositionUpdateMap)
Sets the delayed scrollbar position update map, which holds scrollbar position data from a controller request that requires a second round-trip to the browser.

Parameters:
delayedScrollPositionUpdateMap - A map containing the scrollbar position parameters received by the controller.

NextApp Echo
App Container 1.0.5