|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.eyebolt.iplib.RecvThreadMgr
Base RecvThreadMgr class
Field Summary | |
static int |
ERR_PORT_IN_USE
Error returned by listen when the port is not available |
private java.util.Vector |
receiveThreads
array of threads, each waiting to receive on a IPKey |
static int |
SUCCESS
Value returned when an operation runs successfully |
Constructor Summary | |
RecvThreadMgr()
No argument constructor |
Method Summary | |
void |
add(IPKey key)
Connect to a given address; check the status of the IPKey to determine if the connection was successful. |
void |
remove(IPKey key)
Connect to a given address; check the status of the IPKey to determine if the connection was successful. |
void |
shutdown()
Stop the RecvThreadMgr threads. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final int SUCCESS
public static final int ERR_PORT_IN_USE
private java.util.Vector receiveThreads
Constructor Detail |
public RecvThreadMgr()
Method Detail |
public void add(IPKey key) throws java.io.IOException
key
- Description of Parameterjava.io.IOException
- Description of Exceptionpublic void remove(IPKey key)
key
- Description of Parameterjava.io.IOException
- Description of Exceptionpublic void shutdown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |