ActionPlainTextMessenger.java

00001 package edu.stanford.hci.r3.actions.remote;
00002 
00003 import java.net.Socket;
00004 
00005 import edu.stanford.hci.r3.actions.R3Action;
00006 
00018 public class ActionPlainTextMessenger extends ActionMessenger {
00019 
00023         public ActionPlainTextMessenger(Socket sock) {
00024                 super(sock);
00025         }
00026 
00031         public byte[] getMessage(R3Action action) {
00032                 return (action.toString() + LINE_SEPARATOR).getBytes();
00033         }
00034 }

Generated on Sat Apr 14 18:21:33 2007 for R3 Paper Toolkit by  doxygen 1.4.7