Tuscany Core

org.apache.tuscany.core.wire.impl
Class MessageDispatcher

java.lang.Object
  extended by org.apache.tuscany.core.wire.impl.MessageDispatcher
All Implemented Interfaces:
MessageHandler

public class MessageDispatcher
extends java.lang.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: 394379 $ $Date: 2006-04-15 18:01:36 -0400 (Sat, 15 Apr 2006) $

Constructor Summary
MessageDispatcher(Interceptor head)
          Construct a handler that dispatches messages to an Interceptor stack.
 
Method Summary
 boolean processMessage(Message msg)
          Process a message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

processMessage

public boolean processMessage(Message msg)
Description copied from interface: MessageHandler
Process a message.

Specified by:
processMessage in interface MessageHandler

Tuscany Core

-