org.apache.geronimo.gshell.whisper.request
Class Requestor
java.lang.Object
org.apache.geronimo.gshell.whisper.request.Requestor
public class Requestor
- extends Object
Provides support to send a request and receive it's response.
- Version:
- $Rev: 580691 $ $Date: 2007-09-30 03:36:37 -0700 (Sun, 30 Sep 2007) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Requestor
public Requestor(org.apache.mina.common.IoSession session,
Duration timeout)
Requestor
public Requestor(org.apache.mina.common.IoSession session)
Requestor
public Requestor(Transport transport)
getTimeout
public Duration getTimeout()
setTimeout
public void setTimeout(Duration timeout)
submit
public Requestor.RequestWriteFuture submit(Message msg,
Duration timeout)
throws Exception
- Throws:
Exception
submit
public Requestor.RequestWriteFuture submit(Message msg)
throws Exception
- Throws:
Exception
request
public Message request(Message msg,
Duration timeout)
throws Exception
- Throws:
Exception
request
public Message request(Message msg)
throws Exception
- Throws:
Exception
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.