com.intel.bluetooth.gcf.socket
Class ServerSocketConnection

java.lang.Object
  extended by com.intel.bluetooth.gcf.socket.ServerSocketConnection
All Implemented Interfaces:
Connection, ServerSocketConnection, StreamConnectionNotifier

public class ServerSocketConnection
extends Object
implements ServerSocketConnection

Rating red

Constructor Summary
ServerSocketConnection(int port)
           
 
Method Summary
 StreamConnection acceptAndOpen()
           
 void close()
           
 String getLocalAddress()
           
 int getLocalPort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerSocketConnection

public ServerSocketConnection(int port)
                       throws IOException
Throws:
IOException
Method Detail

getLocalAddress

public String getLocalAddress()
                       throws IOException
Specified by:
getLocalAddress in interface ServerSocketConnection
Throws:
IOException

getLocalPort

public int getLocalPort()
                 throws IOException
Specified by:
getLocalPort in interface ServerSocketConnection
Throws:
IOException

acceptAndOpen

public StreamConnection acceptAndOpen()
                               throws IOException
Specified by:
acceptAndOpen in interface StreamConnectionNotifier
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Connection
Throws:
IOException