org.apache.qpid.management.domain.handler.impl
Class MethodResponseMessageHandler

java.lang.Object
  extended by org.apache.qpid.management.domain.handler.base.BaseMessageHandler
      extended by org.apache.qpid.management.domain.handler.impl.MethodResponseMessageHandler
All Implemented Interfaces:
IMessageHandler

public class MethodResponseMessageHandler
extends BaseMessageHandler

Message handler for method response messages. This handler is installed on domain model as a method invocation result listener. When a method is going to be invoked this listener is notified with the exchange channel that will be used between it and the event (method invocation) source object.


Field Summary
 
Fields inherited from class org.apache.qpid.management.domain.handler.base.BaseMessageHandler
_domainModel, _logger
 
Constructor Summary
MethodResponseMessageHandler()
           
 
Method Summary
 void process(org.apache.qpid.transport.codec.Decoder decoder, int sequenceNumber)
          Processes the incoming message.
 void setDomainModel(DomainModel domainModel)
          Sets the domain model on this handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodResponseMessageHandler

public MethodResponseMessageHandler()
Method Detail

process

public void process(org.apache.qpid.transport.codec.Decoder decoder,
                    int sequenceNumber)
Processes the incoming message.

Parameters:
decoder - the decoder used for parsing incoming data.
sequenceNumber - the sequence number of the incoming message.

setDomainModel

public void setDomainModel(DomainModel domainModel)
Sets the domain model on this handler. In addiction, this handler registers a method invocation listener on the domain model.

Specified by:
setDomainModel in interface IMessageHandler
Overrides:
setDomainModel in class BaseMessageHandler
Parameters:
domainModel - the managed broker domain model.


Licensed to the Apache Software Foundation