ActionSender Class Reference

List of all members.

Public Member Functions

 ActionSender (String serverNameOrIPAddr, int port, ClientServerType type)
synchronized void disconnect ()
 Stop talking to the remote server.
void invokeRemoteAction (R3Action action)
 Invokes the action as soon as possible on a remote device.

Detailed Description

Create this object, and connect it to a remote ActionReceiver (which is a server). Then, whenever you invoke a remote action, this will send the action across the wire to the ActionReceiver, so that the receiver can invoke the action on its local machine.

This software is distributed under the BSD License.

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

Definition at line 24 of file ActionSender.java.


Constructor & Destructor Documentation

ActionSender ( String  serverNameOrIPAddr,
int  port,
ClientServerType  type 
)

Parameters:
serverNameOrIPAddr 
port 
type 

Definition at line 41 of file ActionSender.java.


Member Function Documentation

void invokeRemoteAction ( R3Action  action  ) 

Invokes the action as soon as possible on a remote device.

Parameters:
action 

Definition at line 77 of file ActionSender.java.

References ActionMessenger.sendAction().

Referenced by Device.invokeAction().


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