|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.net.ServerSocket | +--springs.util.ServerSocketCountingBytes
A socket with a count of the transmitted bytes.
Field Summary |
Fields inherited from class java.net.ServerSocket |
|
Constructor Summary | |
ServerSocketCountingBytes()
Constructor. |
|
ServerSocketCountingBytes(int port)
Constructor. |
Method Summary | |
java.net.Socket |
accept()
Creates a socket of type MySocketCountingBytes and then calls implAccept to wait for a client connection. |
Methods inherited from class java.net.ServerSocket |
bind, bind, close, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ServerSocketCountingBytes() throws java.io.IOException
public ServerSocketCountingBytes(int port) throws java.io.IOException
port
- the port number.Method Detail |
public java.net.Socket accept() throws java.io.IOException
accept
in class java.net.ServerSocket
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |