org.activemq.transport.tcp
Class TcpTransportChannelFactory
java.lang.Object
org.activemq.transport.TransportChannelFactorySupport
org.activemq.transport.tcp.TcpTransportChannelFactory
- All Implemented Interfaces:
- TransportChannelFactory
- Direct Known Subclasses:
- SfTransportChannelFactory
- public class TcpTransportChannelFactory
- extends TransportChannelFactorySupport
A tcp implementation of a TransportChannelFactory
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpTransportChannelFactory
public TcpTransportChannelFactory()
create
public TransportChannel create(WireFormat wireFormat,
URI remoteLocation)
throws JMSException
- Create a Channel to a remote Node - e.g. a Broker
- Parameters:
wireFormat
- remoteLocation
-
- Returns:
- the TransportChannel bound to the remote node
- Throws:
JMSException
create
public TransportChannel create(WireFormat wireFormat,
URI remoteLocation,
URI localLocation)
throws JMSException
- Create a Channel to a remote Node - e.g. a Broker
- Parameters:
wireFormat
- remoteLocation
- localLocation
- -
e.g. local InetAddress and local port
- Returns:
- the TransportChannel bound to the remote node
- Throws:
JMSException
requiresEmbeddedBroker
public boolean requiresEmbeddedBroker()
- Description copied from interface:
TransportChannelFactory
- Does this channel require an embedded broker to perform
such as VM or multicast based transports
- Returns:
- true if an embedded broker is a requirement
of using the channel
Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.