ioio.lib.impl
Class SocketIOIOConnection

java.lang.Object
  extended by ioio.lib.impl.SocketIOIOConnection
All Implemented Interfaces:
IOIOConnection

public class SocketIOIOConnection
extends java.lang.Object
implements IOIOConnection


Constructor Summary
SocketIOIOConnection(java.lang.Integer port)
           
 
Method Summary
 void disconnect()
           
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 void waitForConnect()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketIOIOConnection

public SocketIOIOConnection(java.lang.Integer port)
Method Detail

waitForConnect

public void waitForConnect()
                    throws ConnectionLostException
Specified by:
waitForConnect in interface IOIOConnection
Throws:
ConnectionLostException

disconnect

public void disconnect()
Specified by:
disconnect in interface IOIOConnection

getInputStream

public java.io.InputStream getInputStream()
                                   throws ConnectionLostException
Specified by:
getInputStream in interface IOIOConnection
Throws:
ConnectionLostException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws ConnectionLostException
Specified by:
getOutputStream in interface IOIOConnection
Throws:
ConnectionLostException