public class OtpServerSocketTransport extends java.lang.Object implements OtpServerTransport
| Constructor and Description |
|---|
OtpServerSocketTransport(int port) |
| Modifier and Type | Method and Description |
|---|---|
OtpTransport |
accept() |
void |
close() |
int |
getLocalPort() |
public OtpServerSocketTransport(int port)
throws java.io.IOException
java.io.IOExceptionServerSocket.ServerSocket(int)public int getLocalPort()
getLocalPort in interface OtpServerTransportServerSocket.getLocalPort()public OtpTransport accept() throws java.io.IOException
accept in interface OtpServerTransportjava.io.IOExceptionServerSocket.accept()public void close()
throws java.io.IOException
close in interface OtpServerTransportjava.io.IOExceptionServerSocket.close()