ActionHandler Class Reference

List of all members.

Public Member Functions

void receivedAction (R3Action action)
 Invoke the action object that was received over the wire.
void receivedActionText (String line)

Detailed Description

Deals with actions that have been unserialized by ActionReceiver. It provides a useful default, but you can override the functionality if you want to make more interesting things happen (e.g., batch actions until a certain time).

This software is distributed under the BSD License.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 21 of file ActionHandler.java.


Member Function Documentation

void receivedAction ( R3Action  action  ) 

Invoke the action object that was received over the wire.

Parameters:
action sent from a remote machine (or possibly from the localhost)

Definition at line 29 of file ActionHandler.java.

References R3Action.invoke().

void receivedActionText ( String  line  ) 

Parameters:
line a line of text sent over the wire. We just print it out. This is useful for debugging the Action Sender/Receiver architecture.

Definition at line 38 of file ActionHandler.java.


The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:40 2007 for R3 Paper Toolkit by  doxygen 1.4.7