|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.ServerSocket
org.eclipse.ecf.provider.comm.tcp.Server
public class Server
| Field Summary | |
|---|---|
static int |
DEFAULT_BACKLOG
|
| Constructor Summary | |
|---|---|
Server(int port,
ISocketAcceptHandler handler)
|
|
Server(java.lang.ThreadGroup group,
int port,
ISocketAcceptHandler handler)
|
|
| Method Summary | |
|---|---|
void |
close()
|
protected void |
debug(java.lang.String msg)
|
protected void |
handleAccept(java.net.Socket aSocket)
|
protected java.lang.Thread |
setupListener()
|
protected void |
traceStack(java.lang.String msg,
java.lang.Throwable e)
|
| Methods inherited from class java.net.ServerSocket |
|---|
accept, bind, bind, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_BACKLOG
| Constructor Detail |
|---|
public Server(java.lang.ThreadGroup group,
int port,
ISocketAcceptHandler handler)
throws java.io.IOException
java.io.IOException
public Server(int port,
ISocketAcceptHandler handler)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
protected void debug(java.lang.String msg)
protected void traceStack(java.lang.String msg,
java.lang.Throwable e)
protected java.lang.Thread setupListener()
protected void handleAccept(java.net.Socket aSocket)
public void close()
throws java.io.IOException
close in class java.net.ServerSocketjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||