|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ode.jbi.Receiver
public class Receiver
Receiver pulls messages from the NMS and submits them to ODE for further processing.
Constructor Summary | |
---|---|
Receiver(OdeContext context)
Constructor for creating instance of this class. |
Method Summary | |
---|---|
void |
cease()
This is called to gracefully stop the Receiver thread. |
void |
run()
We periodically poll for input messages, blocking for 1 sec on the accept() call to receive messages. |
void |
start()
Start the receiver thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Receiver(OdeContext context)
context
- for receiving environment parameters.Method Detail |
---|
public void start()
public void cease()
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |