|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TargetDescriptor | |
org.xins.client | XINS client framework. |
org.xins.common.http | HTTP-related utility classes. |
org.xins.common.service | Service calling classes, supporting load-balancing and failover. |
Uses of TargetDescriptor in org.xins.client |
Methods in org.xins.client that return TargetDescriptor | |
TargetDescriptor |
AbstractCAPICallResult.succeededTarget()
Returns the target for which the call succeeded. |
Methods in org.xins.client with parameters of type TargetDescriptor | |
protected AbstractCAPIErrorCodeException |
AbstractCAPI.createErrorCodeException(XINSCallRequest request,
TargetDescriptor target,
long duration,
XINSCallResultData resultData)
Creates an AbstractCAPIErrorCodeException for the specified
error code. |
Object |
XINSServiceCaller.doCallImpl(CallRequest request,
CallConfig callConfig,
TargetDescriptor target)
Executes the specified request on the given target. |
protected CallResult |
XINSServiceCaller.createCallResult(CallRequest request,
TargetDescriptor succeededTarget,
long duration,
CallExceptionList exceptions,
Object result)
Constructs an appropriate CallResult object for a
successful call attempt. |
Constructors in org.xins.client with parameters of type TargetDescriptor | |
AbstractCAPIErrorCodeException(XINSCallRequest request,
TargetDescriptor target,
long duration,
XINSCallResultData resultData)
Constructs a new AbstractCAPIErrorCodeException . |
|
UnacceptableErrorCodeXINSCallException(XINSCallRequest request,
TargetDescriptor target,
long duration,
XINSCallResultData resultData)
Constructs a new UnacceptableErrorCodeXINSCallException
based on a XINSCallResultData instance. |
Uses of TargetDescriptor in org.xins.common.http |
Methods in org.xins.common.http with parameters of type TargetDescriptor | |
Object |
HTTPServiceCaller.doCallImpl(CallRequest request,
CallConfig callConfig,
TargetDescriptor target)
Executes a request towards the specified target. |
HTTPCallResult |
HTTPServiceCaller.call(HTTPCallRequest request,
HTTPCallConfig callConfig,
TargetDescriptor target)
Deprecated. Deprecated since XINS 1.1.0, since this method is expected to be removed. Please do not use it directly. |
HTTPCallResult |
HTTPServiceCaller.call(HTTPCallRequest request,
TargetDescriptor target)
Deprecated. Deprecated since XINS 1.0.0, since this method is expected to be removed. Please do not use it directly. |
protected CallResult |
HTTPServiceCaller.createCallResult(CallRequest request,
TargetDescriptor succeededTarget,
long duration,
CallExceptionList exceptions,
Object result)
Constructs an appropriate CallResult object for a
successful call attempt. |
Constructors in org.xins.common.http with parameters of type TargetDescriptor | |
StatusCodeHTTPCallException(HTTPCallRequest request,
TargetDescriptor target,
long duration,
int code)
Constructs a new StatusCodeHTTPCallException based on the
original request, target called, call duration and HTTP status code. |
|
HTTPCallResult(HTTPCallRequest request,
TargetDescriptor succeededTarget,
long duration,
CallExceptionList exceptions,
HTTPCallResultData data)
Constructs a new HTTPCallResult object. |
Uses of TargetDescriptor in org.xins.common.service |
Methods in org.xins.common.service that return TargetDescriptor | |
TargetDescriptor |
CallResult.getSucceededTarget()
Returns the target for which the call succeeded. |
TargetDescriptor |
CallException.getTarget()
Returns the descriptor for the target that was attempted to be called. |
abstract TargetDescriptor |
Descriptor.getTargetByCRC(int crc)
Returns the TargetDescriptor that matches the specified
CRC-32 checksum. |
TargetDescriptor |
GroupDescriptor.getTargetByCRC(int crc)
Returns the TargetDescriptor that matches the specified
CRC-32 checksum. |
TargetDescriptor |
UnsupportedProtocolException.getTargetDescriptor()
Returns the target descriptor that has an unsupported protocol. |
TargetDescriptor |
TargetDescriptor.getTargetByCRC(int crc)
Returns the TargetDescriptor that matches the specified
CRC-32 checksum. |
Methods in org.xins.common.service with parameters of type TargetDescriptor | |
void |
ServiceCaller.testTargetDescriptor(TargetDescriptor target)
Asserts that the specified target descriptor is considered acceptable for this service caller. |
abstract Object |
ServiceCaller.doCallImpl(CallRequest request,
CallConfig callConfig,
TargetDescriptor target)
Calls the specified target using the specified subject. |
protected abstract CallResult |
ServiceCaller.createCallResult(CallRequest request,
TargetDescriptor succeededTarget,
long duration,
CallExceptionList exceptions,
Object result)
Constructs an appropriate CallResult object for a
successful call attempt. |
protected void |
ServiceCaller.controlTimeOut(Runnable task,
TargetDescriptor descriptor)
Runs the specified task. |
Constructors in org.xins.common.service with parameters of type TargetDescriptor | |
CallResult(CallRequest request,
TargetDescriptor succeededTarget,
long duration,
CallExceptionList exceptions)
Constructs a new CallResult object. |
|
TotalTimeOutCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new TotalTimeOutCallException . |
|
CallException(String shortReason,
CallRequest request,
TargetDescriptor target,
long duration,
String detail,
Throwable cause)
Constructs a new CallException based on a short reason, the
original request, target called, call duration, detail message and cause
exception. |
|
ConnectionRefusedCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new ConnectionRefusedCallException . |
|
UnsupportedProtocolException(TargetDescriptor target)
Constructs a new UnsupportedProtocolException for the
specified target descriptor. |
|
NoRouteToHostCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new NoRouteToHostCallException . |
|
UnknownHostCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new UnknownHostCallException . |
|
IOCallException(CallRequest request,
TargetDescriptor target,
long duration,
IOException ioException)
Constructs a new IOCallException . |
|
UnexpectedExceptionCallException(CallRequest request,
TargetDescriptor target,
long duration,
String detail,
Throwable cause)
Constructs a new UnexpectedExceptionCallException . |
|
ConnectionTimeOutCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new ConnectionTimeOutCallException . |
|
SocketTimeOutCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new SocketTimeOutCallException . |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |