|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.cimxml.CIMMessage
org.sblim.cimclient.internal.cimxml.CIMResponse
public class CIMResponse
Represent a CIMReponse message.
Field Summary | |
---|---|
protected WBEMException |
iError
|
protected java.util.Vector |
iParamValue
|
protected java.util.Vector |
iResponses
|
protected java.util.Vector |
iReturnValue
|
Fields inherited from class org.sblim.cimclient.internal.cimxml.CIMMessage |
---|
iCimVersion, iDoc, iDtdVersion, iElements, iId, iIsCIMExport, iIsRequest, iIsSimple, iMethod, iProtocolVersion |
Constructor Summary | |
---|---|
CIMResponse()
Constructs a CIMResponse object. |
|
CIMResponse(CIMRequest request)
Constructs a CIM Response message from a given CIM Request. |
|
CIMResponse(java.lang.String pCimVersion,
java.lang.String pDtdVersion,
java.lang.String pId,
java.lang.String pMethod)
Constructs a CIMResponse object with the specified CIMVersion, DTDVersion and method. |
Method Summary | |
---|---|
void |
addParamValue(java.lang.Object o)
Adds a |
void |
addParamValue(java.util.Vector v)
addParamValue |
void |
addResponse(CIMResponse response)
addResponse |
void |
addReturnValue(java.lang.Object o)
addReturnValue |
void |
checkError()
Verify the status code for this CIMResponse. |
java.util.List |
getAllResponses()
getAllResponses |
WBEMException |
getException()
getException |
CIMResponse |
getFirstResponse()
getFirstResponse |
java.util.List |
getFirstReturnValue()
getFirstReturnValue |
java.util.List |
getParamValues()
getParamValues |
boolean |
isSuccessul()
isSuccessul |
void |
setError(WBEMException error)
setError |
void |
setParamValue(java.util.Vector paramValue)
setParamValue |
void |
setReturnValue(java.util.Vector returnValue)
setReturnValue |
Methods inherited from class org.sblim.cimclient.internal.cimxml.CIMMessage |
---|
getCIMVersion, getDTDVersion, getId, getProtocolVersion, isCIMExport, isCIMOperation, setCIMVersion, setDTDVersion, setId, setIsRequest, setMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Vector iResponses
protected WBEMException iError
protected java.util.Vector iReturnValue
protected java.util.Vector iParamValue
Constructor Detail |
---|
public CIMResponse()
public CIMResponse(java.lang.String pCimVersion, java.lang.String pDtdVersion, java.lang.String pId, java.lang.String pMethod)
pCimVersion
- pDtdVersion
- pId
- pMethod
- public CIMResponse(CIMRequest request)
request
- Method Detail |
---|
public void addParamValue(java.lang.Object o)
o
- public void addParamValue(java.util.Vector v)
v
- public void addResponse(CIMResponse response)
response
- public void addReturnValue(java.lang.Object o)
o
- public void checkError() throws WBEMException
WBEMException
- if the status code is other than success.public java.util.List getAllResponses()
public WBEMException getException()
public boolean isSuccessul()
public CIMResponse getFirstResponse()
public java.util.List getParamValues()
public java.util.List getFirstReturnValue()
public void setError(WBEMException error)
error
- public void setParamValue(java.util.Vector paramValue)
paramValue
- public void setReturnValue(java.util.Vector returnValue)
returnValue
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |