|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xins.client.AbstractCAPICallResult
Base class for generated CAPI function result classes.
This class should not be subclassed manually. It is only intended to be subclassed by classes generated by XINS.
Constructor Summary | |
protected |
AbstractCAPICallResult(XINSCallResult result)
Creates a new AbstractCAPICallResult object, based on the
specified XINSCallResult . |
Method Summary | |
long |
duration()
Returns the call duration, in milliseconds. |
CallExceptionList |
exceptions()
Returns the list of CallException s. |
TargetDescriptor |
succeededTarget()
Returns the target for which the call succeeded. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractCAPICallResult(XINSCallResult result) throws IllegalArgumentException
AbstractCAPICallResult
object, based on the
specified XINSCallResult
.
result
- the lower-level XINSCallResult
, cannot be null
.
IllegalArgumentException
- if result == null
.Method Detail |
public final TargetDescriptor succeededTarget()
TargetDescriptor
for which the call succeeded, not
null
.public final long duration()
public final CallExceptionList exceptions()
CallException
s.
CallException
s,
collected in a CallExceptionList
object,
or null
if the first call attempt succeeded.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |