|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.management.domain.handler.base.BaseMessageHandler
org.apache.qpid.management.domain.handler.impl.SchemaResponseMessageHandler
public class SchemaResponseMessageHandler
Schema Response message handler. This handler is responsible to process 'S'(opcode) messages sent by the management broker containing the full schema details for a class.
Nested Class Summary | |
---|---|
(package private) static interface |
SchemaResponseMessageHandler.IProcessor
Behavioural interface for classes that are responsible to deal with schema messages. |
Field Summary | |
---|---|
(package private) SchemaResponseMessageHandler.IProcessor |
_classSchemaProcessor
Processor responsible to deal with class schema related messages. |
(package private) SchemaResponseMessageHandler.IProcessor |
_eventSchemaProcessor
Processor responsible to deal with class event related messages. |
Fields inherited from class org.apache.qpid.management.domain.handler.base.BaseMessageHandler |
---|
_domainModel, _logger |
Constructor Summary | |
---|---|
SchemaResponseMessageHandler()
|
Method Summary | |
---|---|
(package private) List<Map<String,Object>> |
getAttributes(org.apache.qpid.transport.codec.Decoder decoder,
int howMany)
Reads from the incoming message stream the properties definitions. |
(package private) List<MethodOrEventDataTransferObject> |
getEvents(org.apache.qpid.transport.codec.Decoder decoder,
int howManyEvents)
Reads the events definitions from the incoming message stream. |
(package private) List<MethodOrEventDataTransferObject> |
getMethods(org.apache.qpid.transport.codec.Decoder decoder,
int howManyMethods)
Reads the methods definitions from the incoming message stream. |
void |
process(org.apache.qpid.transport.codec.Decoder decoder,
int sequenceNumber)
Processes an incoming schema response. |
Methods inherited from class org.apache.qpid.management.domain.handler.base.BaseMessageHandler |
---|
setDomainModel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final SchemaResponseMessageHandler.IProcessor _classSchemaProcessor
final SchemaResponseMessageHandler.IProcessor _eventSchemaProcessor
Constructor Detail |
---|
public SchemaResponseMessageHandler()
Method Detail |
---|
public void process(org.apache.qpid.transport.codec.Decoder decoder, int sequenceNumber)
decoder
- the decoder used for parsing the incoming stream.sequenceNumber
- the sequence number of the incoming message.List<Map<String,Object>> getAttributes(org.apache.qpid.transport.codec.Decoder decoder, int howMany)
decoder
- the decoder used for decode incoming data.howManyProperties
- the number of properties to read.
List<MethodOrEventDataTransferObject> getMethods(org.apache.qpid.transport.codec.Decoder decoder, int howManyMethods)
decoder
- the decoder used for decode incoming data.howManyMethods
- the number of methods to read.
List<MethodOrEventDataTransferObject> getEvents(org.apache.qpid.transport.codec.Decoder decoder, int howManyEvents)
decoder
- the decoder used for decode incoming data.howManyEvents
- the number of events to read.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |