edu.stanford.hci.r3.actions.remote
Class ActionPlainTextMessenger

java.lang.Object
  extended by edu.stanford.hci.r3.actions.remote.ActionMessenger
      extended by edu.stanford.hci.r3.actions.remote.ActionPlainTextMessenger

public class ActionPlainTextMessenger
extends ActionMessenger

Useful for debugging. Sends actions as text.

This software is distributed under the BSD License.


Field Summary
 
Fields inherited from class edu.stanford.hci.r3.actions.remote.ActionMessenger
LINE_SEPARATOR
 
Constructor Summary
ActionPlainTextMessenger(java.net.Socket sock)
           
 
Method Summary
 byte[] getMessage(R3Action action)
          Get the byte array to send across the socket.
 
Methods inherited from class edu.stanford.hci.r3.actions.remote.ActionMessenger
destroy, sendAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionPlainTextMessenger

public ActionPlainTextMessenger(java.net.Socket sock)
Parameters:
sock -
Method Detail

getMessage

public byte[] getMessage(R3Action action)
Description copied from class: ActionMessenger
Get the byte array to send across the socket.

Specified by:
getMessage in class ActionMessenger
Parameters:
action -
Returns:

Copyright 2006 Stanford University