lejos.pc.tools
Class SocketProxy

java.lang.Object
  extended by lejos.pc.tools.SocketProxy

public class SocketProxy
extends Object

Socket Proxy for NXT Has two main functions. The first is to connect to an existing server socket on the specified port. The second function is to create a socket server. In this case the proxy assumes that the NXT will then send a command to inform the proxy of the next action to take Currently only supports TCP connections

Rating red

Constructor Summary
SocketProxy()
           
 
Method Summary
static void main(String[] args)
           
 void run(String[] args)
          Run the Socket Proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketProxy

public SocketProxy()
Method Detail

run

public void run(String[] args)
         throws TinyVMException
Run the Socket Proxy. An instance of SocketProxy will allow for transparent forwarding of messages between server and NXT using a socket connection

Throws:
TinyVMException

main

public static void main(String[] args)