edu.stanford.hci.r3.actions.types
Class ProcessInformationAction

java.lang.Object
  extended by edu.stanford.hci.r3.actions.types.ProcessInformationAction
All Implemented Interfaces:
R3Action

public class ProcessInformationAction
extends java.lang.Object
implements R3Action

Allows you to pass some information. Nothing happens if you invoke() it. The sole purpose of this class is to pass an object to the other device.

This software is distributed under the BSD License.


Constructor Summary
ProcessInformationAction(java.lang.String messageName, java.lang.Object msgValue)
           
 
Method Summary
 java.lang.Object getInformation()
           
 java.lang.String getName()
           
 void invoke()
          Invoke this action on the local machine.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessInformationAction

public ProcessInformationAction(java.lang.String messageName,
                                java.lang.Object msgValue)
Parameters:
msgValue -
Method Detail

getInformation

public java.lang.Object getInformation()

getName

public java.lang.String getName()

invoke

public void invoke()
Description copied from interface: R3Action
Invoke this action on the local machine. If you want to invoke this on a remote machine, you will need to send it across the wire. That machine will then unserialize the action object and call invoke() on ITS local machine.

Specified by:
invoke in interface R3Action
See Also:
R3Action.invoke()

toString

public java.lang.String toString()
Specified by:
toString in interface R3Action
Overrides:
toString in class java.lang.Object
Returns:
a description of the action.
See Also:
Object.toString()

Copyright 2006 Stanford University