Class OneShotChannelAdaptor.Worker
java.lang.Object
org.jpos.q2.iso.OneShotChannelAdaptor.Worker
- All Implemented Interfaces:
Runnable
- Enclosing class:
OneShotChannelAdaptor
Per-message worker that opens an ad-hoc channel, sends the request, and forwards any response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidBuilds and configures the channel used by this worker for one request/response cycle.voidrun()
-
Constructor Details
-
Worker
Constructs a Worker with the given identifier.- Parameters:
i- worker identifier (used in the thread name)
-
-
Method Details
-
run
-
initChannel
Builds and configures the channel used by this worker for one request/response cycle.- Throws:
ConfigurationException- if the channel configuration is missing or invalid
-