public static class AMQP.Basic.Ack extends AbstractMarshallingMethod
Modifier and Type | Field and Description |
---|---|
long |
deliveryTag |
static int |
INDEX |
boolean |
multiple
If set to 1, the delivery tag is treated as "up to and including", so
that the client can acknowledge multiple messages with a single method.
|
private static long |
serialVersionUID |
channelNumber, logger
Constructor and Description |
---|
Ack() |
Ack(long deliveryTag,
boolean multiple)
This method acknowledges one or more messages delivered via the Deliver
or Get-Ok methods.
|
Modifier and Type | Method and Description |
---|---|
int |
getClassId() |
String |
getClassName() |
int |
getMethodId() |
String |
getMethodName() |
void |
readFrom(AMQPInputStream in) |
String |
toString() |
void |
writeTo(AMQPOutputStream out) |
read, toFrame
private static final long serialVersionUID
public long deliveryTag
public boolean multiple
public static final int INDEX
public Ack(long deliveryTag, boolean multiple)
public Ack()
public int getMethodId()
getMethodId
in class AbstractMarshallingMethod
public String getMethodName()
getMethodName
in class AbstractMarshallingMethod
public int getClassId()
getClassId
in class AbstractMarshallingMethod
public String getClassName()
getClassName
in class AbstractMarshallingMethod
public void readFrom(AMQPInputStream in) throws IOException
readFrom
in class AbstractMarshallingMethod
IOException
public void writeTo(AMQPOutputStream out) throws IOException
writeTo
in class AbstractMarshallingMethod
IOException
Copyright © 2021 ScalAgent D.T.. All rights reserved.