|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.core.wire.impl.OneWayInterceptor
public class OneWayInterceptor
An interceptor that sends the wire Message down its request channel and does not expect a response.
Constructor Summary | |
---|---|
OneWayInterceptor(MessageChannel requestChannel)
Construct an interceptor that sends messages down the supplied channel. |
Method Summary | |
---|---|
Message |
invoke(Message message)
Process a synchronous wire. |
void |
setNext(Interceptor next)
Sets the next interceptor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OneWayInterceptor(MessageChannel requestChannel)
requestChannel
- the channel to send messages downMethod Detail |
---|
public Message invoke(Message message)
Interceptor
invoke
in interface Interceptor
message
- the request Message for the wire
public void setNext(Interceptor next)
Interceptor
setNext
in interface Interceptor
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |