public class Request extends Object
Constructor and Description |
---|
Request(Object id,
Object message,
boolean useResponseQueue,
long timeoutMillis) |
Request(Object id,
Object message,
boolean useResponseQueue,
long timeout,
TimeUnit unit) |
Request(Object id,
Object message,
long timeoutMillis) |
Request(Object id,
Object message,
long timeout,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
Response |
awaitResponse() |
Response |
awaitResponse(long timeout,
TimeUnit unit) |
Response |
awaitResponseUninterruptibly() |
boolean |
equals(Object o) |
Object |
getId() |
Object |
getMessage() |
long |
getTimeoutMillis() |
int |
hashCode() |
boolean |
hasResponse() |
boolean |
isUseResponseQueue() |
String |
toString() |
public Object getId()
public Object getMessage()
public long getTimeoutMillis()
public boolean isUseResponseQueue()
public boolean hasResponse()
public Response awaitResponse() throws RequestTimeoutException, InterruptedException
public Response awaitResponse(long timeout, TimeUnit unit) throws RequestTimeoutException, InterruptedException
public Response awaitResponseUninterruptibly() throws RequestTimeoutException
RequestTimeoutException
Copyright © 2004-2012 Apache MINA Project. All Rights Reserved.