public class SEServerSocket extends java.lang.Object implements ServerSocket
| Modifier and Type | Field and Description |
|---|---|
protected IPAddress |
ipAddress |
protected java.net.ServerSocket |
serverSocket |
| Modifier | Constructor and Description |
|---|---|
protected |
SEServerSocket() |
|
SEServerSocket(HTTPBinding binding) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
accept()
Waits until a client connects and returns an IConnection implementation.
|
void |
close()
Closes the ServerSocket.
|
IPAddress |
getIPAddress()
Returns the local address.
|
int |
getPort()
Returns the local port.
|
protected IPAddress ipAddress
protected java.net.ServerSocket serverSocket
public SEServerSocket(HTTPBinding binding) throws java.io.IOException
java.io.IOExceptionprotected SEServerSocket()
public Socket accept() throws java.io.IOException
ServerSocketaccept in interface ServerSocketjava.io.IOException - an I/O exception.public void close()
throws java.io.IOException
ServerSocketclose in interface ServerSocketjava.io.IOException - an I/O exception.public IPAddress getIPAddress()
ServerSocketgetIPAddress in interface ServerSocketpublic int getPort()
ServerSocketgetPort in interface ServerSocket