| |
|
| java.lang.Object com.sun.jbi.engine.xslt.Receiver
Receiver | public class Receiver implements Runnable,TEResources(Code) | | This class implements runnable. Its run in a seprate thread. This blocks and
pulls messages from NMS. It then submits the received normalized messages
for further processing.
author: Sun Microsystems Inc. |
Method Summary | |
public synchronized void | cease() This is called to gracefully stop the ReceiverThread. | public void | exec() It polls NMS periodically for input messages. | public void | run() This is called for starting the ReceiverThread. |
Receiver | public Receiver(ComponentContext context)(Code) | | Constructor for creating instance of this class.
Parameters: context - for receiving environment parameters. |
cease | public synchronized void cease()(Code) | | This is called to gracefully stop the ReceiverThread.
|
exec | public void exec()(Code) | | It polls NMS periodically for input messages. It blocks for 6 sec on
receive call to receive messages.Depending on runFlag staus either it
tries to again poll NMS or exits.
|
run | public void run()(Code) | | This is called for starting the ReceiverThread.
|
|
|
|