Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.activemq.message
Class IntResponseReceipt

    java.lang.Object
      org.codehaus.activemq.message.AbstractPacket
          org.codehaus.activemq.message.Receipt
              org.codehaus.activemq.message.IntResponseReceipt

All Implemented Interfaces:
  Packet

public class IntResponseReceipt
extends Receipt

A receipt that also carries a reponse object.

Field Summary

Fields inherited from interface org.codehaus.activemq.message.Packet
`ACTIVEMQ_BROKER_INFO, ACTIVEMQ_BYTES_MESSAGE, ACTIVEMQ_CONNECTION_INFO, ACTIVEMQ_MAP_MESSAGE, ACTIVEMQ_MESSAGE, ACTIVEMQ_MSG_ACK, ACTIVEMQ_OBJECT_MESSAGE, ACTIVEMQ_STREAM_MESSAGE, ACTIVEMQ_TEXT_MESSAGE, CAPACITY_INFO, CAPACITY_INFO_REQUEST, CONSUMER_INFO, DURABLE_UNSUBSCRIBE, INT_RESPONSE_RECEIPT_INFO, PRODUCER_INFO, RECEIPT_INFO, RESPONSE_RECEIPT_INFO, SESSION_INFO, TRANSACTION_INFO, XA_TRANSACTION_INFO`

Constructor Summary
`IntResponseReceipt()`

Method Summary
`int` | `getPacketType()` Return the type of Packet
`int` | `getResult()`
`void` | `setResult(int result)`

Methods inherited from class org.codehaus.activemq.message.Receipt
`getBrokerMessageCapacity, getCorrelationId, getException, isFailed, isReceipt, setBrokerMessageCapacity, setCorrelationId, setException, setFailed, toString`

Methods inherited from class org.codehaus.activemq.message.AbstractPacket
`decrementMemoryReferenceCount, equals, equals, getId, getMemoryUsage, getMemoryUsageReferenceCount, getPacketTypeAsString, hashCode, incrementMemoryReferenceCount, isJMSMessage, isReceiptRequired, setId, setMemoryUsage, setReceiptRequired`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### IntResponseReceipt

    public IntResponseReceipt()

Method Detail

### getPacketType

    public int getPacketType()

  Description copied from class: `Receipt`
  Return the type of Packet

  Specified by:
    `getPacketType` in interface `Packet`
  Overrides:
    `getPacketType` in class `Receipt`
  Returns:
    integer representation of the type of Packet
  See Also:
    `Receipt.getPacketType()`

### getResult

    public int getResult()

  Returns:
    Returns the result.

### setResult

    public void setResult(int result)

  Parameters:
    `result` - The result to set.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Protique, Ltd.. All Rights Reserved.