|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.rabbitmq.client.impl.Method
com.rabbitmq.client.impl.AMQImpl.Channel.Alert
public static class AMQImpl.Channel.Alert
send a non-fatal warning message. This method allows the server to send a non-fatal warning to the client. This is used for methods that are normally asynchronous and thus do not have confirmations, and for which the server may detect errors that need to be reported. Fatal errors are handled as channel or connection exceptions; non-fatal errors are sent through this method.
| Field Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
details
|
static int |
INDEX
|
int |
replyCode
|
java.lang.String |
replyText
|
| Constructor Summary | |
|---|---|
AMQImpl.Channel.Alert()
|
|
AMQImpl.Channel.Alert(int replyCode,
java.lang.String replyText,
java.util.Map<java.lang.String,java.lang.Object> details)
|
|
| Method Summary | |
|---|---|
void |
appendArgumentDebugStringTo(java.lang.StringBuffer acc)
Public API - debugging utility |
java.util.Map<java.lang.String,java.lang.Object> |
getDetails()
|
int |
getReplyCode()
|
java.lang.String |
getReplyText()
|
boolean |
hasContent()
Tell if content is present. |
int |
protocolClassId()
Gets the class ID of this Method |
int |
protocolMethodId()
Gets the method ID of this Method |
java.lang.String |
protocolMethodName()
Gets the method name of this Method |
void |
readArgumentsFrom(MethodArgumentReader reader)
Private API - Autogenerated reader for this method. |
java.lang.Object |
visit(AMQImpl.MethodVisitor visitor)
Visitor support (double-dispatch mechanism). |
void |
writeArgumentsTo(MethodArgumentWriter writer)
Private API - Autogenerated writer for this method. |
| Methods inherited from class com.rabbitmq.client.impl.Method |
|---|
toFrame, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int INDEX
public int replyCode
public java.lang.String replyText
public java.util.Map<java.lang.String,java.lang.Object> details
| Constructor Detail |
|---|
public AMQImpl.Channel.Alert(int replyCode,
java.lang.String replyText,
java.util.Map<java.lang.String,java.lang.Object> details)
public AMQImpl.Channel.Alert()
| Method Detail |
|---|
public int getReplyCode()
getReplyCode in interface AMQP.Channel.Alertpublic java.lang.String getReplyText()
getReplyText in interface AMQP.Channel.Alertpublic java.util.Map<java.lang.String,java.lang.Object> getDetails()
getDetails in interface AMQP.Channel.Alertpublic int protocolClassId()
Method
protocolClassId in interface MethodprotocolClassId in class Methodpublic int protocolMethodId()
Method
protocolMethodId in interface MethodprotocolMethodId in class Methodpublic java.lang.String protocolMethodName()
Method
protocolMethodName in interface MethodprotocolMethodName in class Methodpublic boolean hasContent()
Method
hasContent in class Method
public java.lang.Object visit(AMQImpl.MethodVisitor visitor)
throws java.io.IOException
Method
visit in class Methodvisitor - the visitor object
java.io.IOException - if an error is encounteredpublic void appendArgumentDebugStringTo(java.lang.StringBuffer acc)
Method
appendArgumentDebugStringTo in class Methodacc - the buffer to append debug data to
public void readArgumentsFrom(MethodArgumentReader reader)
throws java.io.IOException
Method
readArgumentsFrom in class Methodreader - interface to an object to read the method arguments
java.io.IOException - if an error is encountered
public void writeArgumentsTo(MethodArgumentWriter writer)
throws java.io.IOException
Method
writeArgumentsTo in class Methodwriter - interface to an object to write the method arguments
java.io.IOException - if an error is encountered
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||