|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.management.messages.ManagementMessage
org.apache.qpid.management.messages.MethodInvocationRequestMessage
public abstract class MethodInvocationRequestMessage
Abstract representation of a method invocation 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 | |
---|---|
MethodInvocationRequestMessage(long bankId,
long brokerId)
Builds a new method invocation request message with the given target identifiers. |
Method Summary | |
---|---|
protected abstract String |
className()
Returns the class name. |
org.apache.qpid.transport.DeliveryProperties |
getDeliveryProperties()
Returns the delivery properties of this message. |
org.apache.qpid.transport.Header |
getHeader()
Returns the header of this message. |
org.apache.qpid.transport.MessageProperties |
getMessageProperties()
Returns the messages header properties of this message. |
protected abstract QpidMethod |
method()
Returns the method to be invoked. |
protected abstract Binary |
objectId()
Returns the object identifier. |
(package private) char |
opcode()
Returns the opcode that will be used for this message. |
protected abstract String |
packageName()
Returns the package name. |
protected abstract Object[] |
parameters()
Returns the parameters used for method invocation. |
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, 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 |
---|
public MethodInvocationRequestMessage(long bankId, long brokerId)
bankId
- the bank identifier.brokerId
- the broker identifier.Method Detail |
---|
char opcode()
ManagementMessage
opcode
in class ManagementMessage
protected abstract String packageName()
protected abstract String className()
protected abstract Binary schemaHash()
protected abstract Binary objectId()
protected abstract QpidMethod method()
protected abstract Object[] parameters()
public org.apache.qpid.transport.DeliveryProperties getDeliveryProperties()
getDeliveryProperties
in interface org.apache.qpid.api.Message
getDeliveryProperties
in class ManagementMessage
public org.apache.qpid.transport.Header getHeader()
getHeader
in interface org.apache.qpid.api.Message
getHeader
in class ManagementMessage
public org.apache.qpid.transport.MessageProperties getMessageProperties()
getMessageProperties
in interface org.apache.qpid.api.Message
getMessageProperties
in class ManagementMessage
void specificMessageEncoding()
ManagementMessage
specificMessageEncoding
in class ManagementMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |