|
||||||||||
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 Vector<Object> |
iParamValue
|
protected Vector<CIMResponse> |
iResponses
|
protected Vector<Object> |
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(String pCimVersion,
String pDtdVersion,
String pId,
String pMethod)
Constructs a CIMResponse object with the specified CIMVersion, DTDVersion and method. |
Method Summary | |
---|---|
void |
addParamValue(Object o)
addParamValue |
void |
addParamValue(Vector<Object> v)
addParamValue |
void |
addResponse(CIMResponse response)
addResponse |
void |
addReturnValue(Object o)
addReturnValue |
void |
checkError()
Verify the status code for this CIMResponse. |
List<CIMResponse> |
getAllResponses()
getAllResponses |
WBEMException |
getException()
getException |
CIMResponse |
getFirstResponse()
getFirstResponse |
List<Object> |
getFirstReturnValue()
getFirstReturnValue |
List<Object> |
getParamValues()
getParamValues |
boolean |
isSuccessful()
isSuccessful |
void |
setError(WBEMException error)
setError |
void |
setParamValue(Vector<Object> paramValue)
setParamValue |
void |
setReturnValue(Vector<Object> 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 Vector<CIMResponse> iResponses
protected WBEMException iError
protected Vector<Object> iReturnValue
protected Vector<Object> iParamValue
Constructor Detail |
---|
public CIMResponse()
public CIMResponse(String pCimVersion, String pDtdVersion, String pId, String pMethod)
pCimVersion
- pDtdVersion
- pId
- pMethod
- public CIMResponse(CIMRequest request)
request
- Method Detail |
---|
public void addParamValue(Object o)
o
- public void addParamValue(Vector<Object> v)
v
- public void addResponse(CIMResponse response)
response
- public void addReturnValue(Object o)
o
- public void checkError() throws WBEMException
WBEMException
- if the status code is other than success.public List<CIMResponse> getAllResponses()
public WBEMException getException()
public boolean isSuccessful()
public CIMResponse getFirstResponse()
public List<Object> getParamValues()
public List<Object> getFirstReturnValue()
public void setError(WBEMException error)
error
- public void setParamValue(Vector<Object> paramValue)
paramValue
- public void setReturnValue(Vector<Object> returnValue)
returnValue
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |