com.intel.bluetooth.gcf.socket
Class ServerSocketConnection
java.lang.Object
com.intel.bluetooth.gcf.socket.ServerSocketConnection
- All Implemented Interfaces:
- Connection, ServerSocketConnection, StreamConnectionNotifier
public class ServerSocketConnection
- extends Object
- implements ServerSocketConnection
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerSocketConnection
public ServerSocketConnection(int port)
throws IOException
- Throws:
IOException
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