|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.remoting.transport.socket.SocketClientPool
SocketClientPool is a simple pool of client Socket connections back to the remote Socket Server.
| Method Summary | |
void |
connect()
|
void |
disconnect()
|
int |
getAvailableCount()
|
Socket |
getNextAvailable()
return the next available Socket object for a given invocation session. |
void |
makeAvailable(Socket socket)
return an available Socket that has been used to the pool for some other execution thread to use |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void connect()
throws IOException
IOExceptionpublic int getAvailableCount()
public void disconnect()
public Socket getNextAvailable()
throws IOException
IOExceptionpublic void makeAvailable(Socket socket)
socket -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||