org.codehaus.activemq.transport
Class TransportChannelProvider
java.lang.Object
org.codehaus.activemq.transport.TransportChannelProvider
- public class TransportChannelProvider
- extends Object
A TransportChannel is used for tranporting packets between nodes
- Version:
- $Revision: 1.12 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportChannelProvider
public TransportChannelProvider()
create
public static TransportChannel create(WireFormat wireFormat,
URI remoteLocation)
throws JMSException
- Create a Channel to a remote Node - e.g. a Broker
- Parameters:
remoteLocation
-
- Returns:
- the TransportChannel bound to the remote node
- Throws:
JMSException
create
public static TransportChannel create(WireFormat wireFormat,
URI remoteLocation,
URI localLocation)
throws JMSException
- Create a Channel to a remote Node - e.g. a Broker
- Parameters:
remoteLocation
- localLocation
- -
e.g. local InetAddress and local port
- Returns:
- the TransportChannel bound to the remote node
- Throws:
JMSException
getFactory
public static TransportChannelFactory getFactory(URI remoteLocation)
throws JMSException
- Throws:
JMSException
createJMSexception
protected static JMSException createJMSexception(String protocol,
Exception e)
Copyright © 2004 Protique, Ltd.. All Rights Reserved.