org.apache.tuscany.core.wire.impl
Class MessageDispatcher
java.lang.Object
org.apache.tuscany.core.wire.impl.MessageDispatcher
- All Implemented Interfaces:
- MessageHandler
public class MessageDispatcher
- extends Object
- implements MessageHandler
A message handler that dispatches the message through an interceptor stack and the uses the response channel to
return the wire result.
- Version:
- $Rev: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageDispatcher
public MessageDispatcher(Interceptor head)
- Construct a handler that dispatches messages to an Interceptor stack.
- Parameters:
head
- the interceptor at the head of the stack
processMessage
public boolean processMessage(Message msg)
- Description copied from interface:
MessageHandler
- Process a message.
- Specified by:
processMessage
in interface MessageHandler
-