cgl.narada.transport.threadpool
Class NetworkTask
java.lang.Object
cgl.narada.transport.threadpool.NetworkTask
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- ReceiveTask, SendTask
public abstract class NetworkTask
- extends Object
- implements Runnable
A lightweight interface to group network tasks.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
SEND_TASK
public static final int SEND_TASK
- See Also:
- Constant Field Values
RECEIVE_TASK
public static final int RECEIVE_TASK
- See Also:
- Constant Field Values
NetworkTask
public NetworkTask()
getIdentifier
public abstract String getIdentifier()
- Retrieve the identifier associated with the network task
- Returns:
- The identifier associated with the network task.
setTaskType
public void setTaskType(int taskType)
getTaskType
public int getTaskType()
For comments and suggestions please send
e-mail to
The NaradaBrokering Project