2010 FRC Java API


com.sun.spot.ota
Class OtaCommandListener

java.lang.Object
  extended by com.sun.spot.ota.OtaCommandListener
All Implemented Interfaces:
Runnable

public class OtaCommandListener
extends Object
implements Runnable

Author:
ea149956

Field Summary
 StreamConnection connection
           
 boolean keepRunning
           
 ServerSocketListener server
           
 
Constructor Summary
OtaCommandListener(ServerSocketListener server, StreamConnection connection)
           
 
Method Summary
 void free()
           
 void run()
          When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

public ServerSocketListener server

connection

public StreamConnection connection

keepRunning

public boolean keepRunning
Constructor Detail

OtaCommandListener

public OtaCommandListener(ServerSocketListener server,
                          StreamConnection connection)
Method Detail

run

public void run()
Description copied from interface: Runnable
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

The general contract of the method run is that it may take any action whatsoever.

Specified by:
run in interface Runnable
See Also:
Thread.run()

free

public void free()

2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.