|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutputStrategyInterface
Architecture interface for component OutputStrategy
.
Must accept messages (Request
s and Reply
ies) from
component MessageProcessor
and put them out (hand them over to
component InputOutputHandler
, which sends them to their
destination) according to an underlying strategy (e. g. batch strategy).
Must be thread-safe.
Method Summary | |
---|---|
void |
addReply(Reply reply)
Can be used to add a Reply , that shall be put out
according to the underlying output strategy. |
void |
addRequest(Request request)
Can be used to add a Request , that shall be put out
according to the underlying output strategy. |
Method Detail |
---|
void addRequest(Request request)
Request
, that shall be put out
according to the underlying output strategy.
Must return immediately (asynchronous behavior), internal output decision may be deferred.
request
- Request
, that shall be put out according
to the underlying output strategy.void addReply(Reply reply)
Reply
, that shall be put out
according to the underlying output strategy.
Must return immediately (asynchronous behavior), internal output decision may be deferred.
reply
- Reply
, that shall be put out according
to the underlying output strategy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |