edu.stanford.hci.r3.pen.streaming.data
Class PenServerPlainTextSender

java.lang.Object
  extended by edu.stanford.hci.r3.pen.streaming.data.PenServerPlainTextSender
All Implemented Interfaces:
PenServerSender

public class PenServerPlainTextSender
extends java.lang.Object
implements PenServerSender

Sends plain text pen samples. Great for debugging.

This software is distributed under the BSD License.


Constructor Summary
PenServerPlainTextSender(java.net.Socket sock)
           
 
Method Summary
 void destroy()
           
 void sendSample(PenSample as)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PenServerPlainTextSender

public PenServerPlainTextSender(java.net.Socket sock)
                         throws java.io.IOException
Parameters:
sock -
Throws:
java.io.IOException
Method Detail

sendSample

public void sendSample(PenSample as)
                throws java.io.IOException
Specified by:
sendSample in interface PenServerSender
Throws:
java.io.IOException
See Also:
PenServerSender.sendSample(edu.stanford.hci.r3.pen.PenSample)

destroy

public void destroy()
Specified by:
destroy in interface PenServerSender
See Also:
PenServerSender.destroy()

Copyright 2006 Stanford University