|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vhosting.netconf.messages.RpcReplyMsg
public class RpcReplyMsg
This class represents the RPC Reply message in the Netconf protocol.
Field Summary | |
---|---|
static java.lang.String |
base_1_0_xmlns
|
Method Summary | |
---|---|
boolean |
containsErrors()
Check if the RPC Reply message contains errors. |
static RpcReplyMsg |
createServerRpcReply(byte[] message)
Create the server side Rpc Reply message from a byte array as source. |
RpcReplyError[] |
getErrors()
Returns the error associated with the RPC operation associated if any. |
java.lang.Integer |
getMessageId()
Get the message id of the Rpc operation with this message as reply. |
boolean |
load(Rpc rpc)
Load into an RPC structure the values for it if exist. |
boolean |
validate()
Validate the message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String base_1_0_xmlns
Method Detail |
---|
public static final RpcReplyMsg createServerRpcReply(byte[] message) throws org.xml.sax.SAXException, java.io.IOException
message
- The byte array.
org.xml.sax.SAXException
- Throw this exception if there are parsing troubles.
java.io.IOException
- Throw this exception if there are reading troubles.public java.lang.Integer getMessageId()
getMessageId
in interface RpcReply
public boolean containsErrors()
RpcReply
containsErrors
in interface RpcReply
public RpcReplyError[] getErrors()
RpcReply
getErrors
in interface RpcReply
public boolean load(Rpc rpc)
RpcReply
load
in interface RpcReply
rpc
- The RPC structure.
public boolean validate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |