NextApp Echo3
v3.0.b4

nextapp.echo.webcontainer
Class Synchronization

java.lang.Object
  extended by nextapp.echo.webcontainer.Synchronization
All Implemented Interfaces:
SynchronizationState

public class Synchronization
extends java.lang.Object
implements SynchronizationState

The high-level object which encapsulates the core of the client-server synchronization process for server-side applications.


Constructor Summary
Synchronization(Connection conn)
          Creates a new Synchronization.
 
Method Summary
 boolean isOutOfSync()
          Determines if this synchronization has been determined to have come from an out-of-sync client.
 void process()
          Processes input from the connection and renders output.
 void setOutOfSync()
          Flags this synchronization as having come from an out-of-sync client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Synchronization

public Synchronization(Connection conn)
Creates a new Synchronization.

Parameters:
conn - the synchronization Connection
Method Detail

isOutOfSync

public boolean isOutOfSync()
Description copied from interface: SynchronizationState
Determines if this synchronization has been determined to have come from an out-of-sync client.

Specified by:
isOutOfSync in interface SynchronizationState
Returns:
true if the client is out of sync.
See Also:
SynchronizationState.isOutOfSync()

setOutOfSync

public void setOutOfSync()
Description copied from interface: SynchronizationState
Flags this synchronization as having come from an out-of-sync client.

Specified by:
setOutOfSync in interface SynchronizationState
See Also:
SynchronizationState.setOutOfSync()

process

public void process()
             throws java.io.IOException
Processes input from the connection and renders output. Performs the following operations:

Throws:
java.io.IOException

NextApp Echo3
v3.0.b4