public static class AMQP.Basic.Reject extends AbstractMarshallingMethod
Modifier and Type | Field and Description |
---|---|
long |
deliveryTag |
static int |
INDEX |
boolean |
requeue
If requeue is true, the server will attempt to requeue the message.
|
private static long |
serialVersionUID |
channelNumber, logger
Constructor and Description |
---|
Reject() |
Reject(long deliveryTag,
boolean requeue)
This method allows a client to reject a message.
|
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 requeue
public static final int INDEX
public Reject(long deliveryTag, boolean requeue)
public Reject()
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 © 2023 ScalAgent D.T.. All rights reserved.