|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttwcsckernel.projectbase.rmi.socketfactory.SocketPool
public class SocketPool
Provides a simple producer/consumer pool of sockets.
Constructor Summary | |
---|---|
SocketPool()
|
Method Summary | |
---|---|
void |
addSocket(java.net.Socket socket)
|
java.net.Socket |
getSocket()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocketPool()
Method Detail |
---|
public java.net.Socket getSocket() throws java.io.InterruptedIOException
java.io.InterruptedIOException
public void addSocket(java.net.Socket socket)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |