NextApp Echo3
v3.0.b4

nextapp.echo.webcontainer
Class InputProcessor

java.lang.Object
  extended by nextapp.echo.webcontainer.InputProcessor

public class InputProcessor
extends java.lang.Object

Parses an XML ClientMessage describing client-side changes to the state of an application that is sent to the remote client as the request of a synchronization HTTP connection.


Constructor Summary
InputProcessor(SynchronizationState syncState, Connection conn)
          Creates a new InputProcessor.
 
Method Summary
 void process()
          Processes input to the application, parsing a client message provided in the Connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputProcessor

public InputProcessor(SynchronizationState syncState,
                      Connection conn)
Creates a new InputProcessor.

Parameters:
syncState - the SynchronizationState of the current synchronization
conn - the Connection for which the input is being parsed
Method Detail

process

public void process()
             throws java.io.IOException
Processes input to the application, parsing a client message provided in the Connection. Verifies client/server are in sync, and performs full refresh if they are not. Writes incoming XML message to System.err in the event debug flag is enabled. Invokes ClientMessage.process() to begin client-message processing (assuming client/server are synchronized).

Throws:
java.io.IOException

NextApp Echo3
v3.0.b4