org.apache.qpid.management.messages
Class SchemaRequestMessage

java.lang.Object
  extended by org.apache.qpid.management.messages.ManagementMessage
      extended by org.apache.qpid.management.messages.SchemaRequestMessage
All Implemented Interfaces:
org.apache.qpid.api.Message

public abstract class SchemaRequestMessage
extends ManagementMessage

Abstract representation of a schema request message. Concrete subclasses must supply the values needed to build & encode the message.


Field Summary
 
Fields inherited from class org.apache.qpid.management.messages.ManagementMessage
_codec, _data, ACCUMULATING, READING
 
Constructor Summary
SchemaRequestMessage()
           
 
Method Summary
protected abstract  String className()
          Returns the class name.
(package private)  char opcode()
          Returns the opcode that will be used for this message.
protected abstract  String packageName()
          Returns the package name.
protected abstract  Binary schemaHash()
          Returns the schema hash.
(package private)  void specificMessageEncoding()
          Concrete subclasses (message implementations) must define here their specific data encoding.
 
Methods inherited from class org.apache.qpid.management.messages.ManagementMessage
appendData, appendData, clearData, getDeliveryProperties, getHeader, getMessageProperties, getMessageTransferId, readData, readData, sequenceNumber, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaRequestMessage

public SchemaRequestMessage()
Method Detail

opcode

char opcode()
Description copied from class: ManagementMessage
Returns the opcode that will be used for this message.

Specified by:
opcode in class ManagementMessage
Returns:
the opcode that will be used for this message.

packageName

protected abstract String packageName()
Returns the package name.

Returns:
the package name.

className

protected abstract String className()
Returns the class name.

Returns:
the class name.

schemaHash

protected abstract Binary schemaHash()
Returns the schema hash.

Returns:
the schema hash.

specificMessageEncoding

final void specificMessageEncoding()
Description copied from class: ManagementMessage
Concrete subclasses (message implementations) must define here their specific data encoding.

Specified by:
specificMessageEncoding in class ManagementMessage


Licensed to the Apache Software Foundation