com.eyebolt.iplib
Class RecvThreadMgr

java.lang.Object
  |
  +--com.eyebolt.iplib.RecvThreadMgr

public class RecvThreadMgr
extends java.lang.Object

Base RecvThreadMgr class

Version:
0.01, 4 Jan 1997
Author:
John Gardner

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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

SUCCESS

public static final int SUCCESS
Value returned when an operation runs successfully

ERR_PORT_IN_USE

public static final int ERR_PORT_IN_USE
Error returned by listen when the port is not available

receiveThreads

private java.util.Vector receiveThreads
array of threads, each waiting to receive on a IPKey
Constructor Detail

RecvThreadMgr

public RecvThreadMgr()
No argument constructor
Method Detail

add

public void add(IPKey key)
         throws java.io.IOException
Connect to a given address; check the status of the IPKey to determine if the connection was successful.
Parameters:
key - Description of Parameter
Throws:
java.io.IOException - Description of Exception

remove

public void remove(IPKey key)
Connect to a given address; check the status of the IPKey to determine if the connection was successful.
Parameters:
key - Description of Parameter
Throws:
java.io.IOException - Description of Exception

shutdown

public void shutdown()
Stop the RecvThreadMgr threads.


Copyright © 2001 Eyebolt, Inc.