org.objectweb.joram.kclient
Class Requestor
java.lang.Object
org.objectweb.joram.kclient.Requestor
public class Requestor
- extends java.lang.Object
Constructor Summary |
Requestor(RequestMultiplexer mtpx)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Requestor
public Requestor(RequestMultiplexer mtpx)
getRequestId
public final int getRequestId()
request
public AbstractReply request(AbstractRequest request)
throws JoramException
- Throws:
JoramException
request
public AbstractReply request(AbstractRequest request,
long timeout)
throws JoramException
- Method sending a synchronous request to the server and waiting for an
answer.
- Throws:
IllegalStateException
- If the connection is closed or broken,
if the server state does not allow to
process the request.
java.lang.SecurityException
- When sending a request to a destination
not accessible because of security.
InvalidDestinationException
- When sending a request to a
destination that no longer exists.
JoramException
- If the request failed for any other reason.
replyReceived
public boolean replyReceived(AbstractReply reply)
throws AbortedRequestException
- Returns:
- whether the request must be aborted or not.
- Throws:
AbortedRequestException
replyAborted
public void replyAborted()
abortRequest
public void abortRequest()
close
public void close()
Copyright © 2005 Scalagent - All rights reserved