org.jboss.messaging.core.client
Class ClientRequestor

java.lang.Object
  extended by org.jboss.messaging.core.client.ClientRequestor

public class ClientRequestor
extends java.lang.Object

a ClientRequestor.

Author:
Jeff Mesnil

Constructor Summary
ClientRequestor(ClientSession session, SimpleString requestAddress)
           
ClientRequestor(ClientSession session, java.lang.String requestAddress)
           
 
Method Summary
 void close()
           
 ClientMessage request(ClientMessage request)
           
 ClientMessage request(ClientMessage request, long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientRequestor

public ClientRequestor(ClientSession session,
                       SimpleString requestAddress)
                throws java.lang.Exception
Throws:
java.lang.Exception

ClientRequestor

public ClientRequestor(ClientSession session,
                       java.lang.String requestAddress)
                throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

request

public ClientMessage request(ClientMessage request)
                      throws java.lang.Exception
Throws:
java.lang.Exception

request

public ClientMessage request(ClientMessage request,
                             long timeout)
                      throws java.lang.Exception
Throws:
java.lang.Exception

close

public void close()
           throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.