Home » activemq-parent-5.3.1-source-release » org.apache » activemq » command » [javadoc | source]
org.apache.activemq.command
public class: ProducerAck [javadoc | source]
java.lang.Object
   org.apache.activemq.command.BaseCommand
      org.apache.activemq.command.ProducerAck

All Implemented Interfaces:
    Command

A ProducerAck command is sent by a broker to a producer to let it know it has received and processed messages that it has produced. The producer will be flow controlled if it does not receive ProducerAck commands back from the broker.
Field Summary
public static final  byte DATA_STRUCTURE_TYPE     
protected  ProducerId producerId     
protected  int size     
Fields inherited from org.apache.activemq.command.BaseCommand:
commandId,  responseRequired
Constructor:
 public ProducerAck() 
 public ProducerAck(ProducerId producerId,
    int size) 
Method from org.apache.activemq.command.ProducerAck Summary:
copy,   getDataStructureType,   getProducerId,   getSize,   setProducerId,   setSize,   visit
Methods from org.apache.activemq.command.BaseCommand:
copy,   getCommandId,   getFrom,   getTo,   isBrokerInfo,   isMarshallAware,   isMessage,   isMessageAck,   isMessageDispatch,   isMessageDispatchNotification,   isResponse,   isResponseRequired,   isShutdownInfo,   isWireFormatInfo,   setCommandId,   setFrom,   setResponseRequired,   setTo,   toString,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.command.ProducerAck Detail:
 public  void copy(ProducerAck copy) 
 public byte getDataStructureType() 
 public ProducerId getProducerId() 
    The producer id that this ack message is destined for.
 public int getSize() 
    The number of bytes that are being acked.
 public  void setProducerId(ProducerId producerId) 
 public  void setSize(int size) 
 public Response visit(CommandVisitor visitor) throws Exception