org.jboss.jms.client.remoting
Class JMSRemotingConnection

java.lang.Object
  extended byorg.jboss.jms.client.remoting.JMSRemotingConnection

public class JMSRemotingConnection
extends java.lang.Object

Encapsulates the state and behaviour from jboss remoting needed for a JMS connection. Each JMS connection maintains a single Client instance for invoking on the server, and a Connector instance that represents the callback server used to receive push callbacks from the server. Only Connector is maintained per protocol

Version:
1.1 JMSRemotingConnection.java,v 1.1 2006/01/23 11:05:19 timfox Exp
Author:
Tim Fox, Ovidiu Feodorov

Field Summary
protected  CallbackManager callbackManager
           
protected  Connector callbackServer
           
protected  Client client
           
protected  boolean clientPing
           
protected  InvokerLocator serverLocator
           
 
Constructor Summary
JMSRemotingConnection(java.lang.String serverLocatorURI, boolean clientPing)
           
 
Method Summary
 CallbackManager getCallbackManager()
           
 Client getInvokingClient()
           
 void start()
           
 void stop()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

client

protected Client client

clientPing

protected boolean clientPing

callbackServer

protected Connector callbackServer

serverLocator

protected InvokerLocator serverLocator

callbackManager

protected CallbackManager callbackManager
Constructor Detail

JMSRemotingConnection

public JMSRemotingConnection(java.lang.String serverLocatorURI,
                             boolean clientPing)
                      throws java.lang.Throwable
Method Detail

start

public void start()
           throws java.lang.Throwable
Throws:
java.lang.Throwable

stop

public void stop()
          throws java.lang.Throwable
Throws:
java.lang.Throwable

getInvokingClient

public Client getInvokingClient()

getCallbackManager

public CallbackManager getCallbackManager()

toString

public java.lang.String toString()


Copyright © 2006 JBoss Inc. All Rights Reserved.