org.activemq.transport.tcp
Class SfTransportChannelFactory
java.lang.Object
org.activemq.transport.TransportChannelFactorySupport
org.activemq.transport.tcp.TcpTransportChannelFactory
org.activemq.transport.tcp.SfTransportChannelFactory
- All Implemented Interfaces:
- TransportChannelFactory
- public class SfTransportChannelFactory
- extends TcpTransportChannelFactory
A factory of TcpTransportChannelFactory instances using a SocketFactory
- Version:
- $Revision: 1.1.1.1 $
Method Summary |
TransportChannel |
create(WireFormat wireFormat,
java.net.URI remoteLocation)
Create a Channel to a remote Node - e.g. |
TransportChannel |
create(WireFormat wireFormat,
java.net.URI remoteLocation,
java.net.URI localLocation)
Create a Channel to a remote Node - e.g. |
protected java.net.Socket |
createSocket(java.net.URI remoteLocation)
|
protected java.net.Socket |
createSocket(java.net.URI remoteLocation,
java.net.URI localLocation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SfTransportChannelFactory
public SfTransportChannelFactory(javax.net.SocketFactory socketFactory)
create
public TransportChannel create(WireFormat wireFormat,
java.net.URI remoteLocation)
throws javax.jms.JMSException
- Create a Channel to a remote Node - e.g. a Broker
- Specified by:
create
in interface TransportChannelFactory
- Overrides:
create
in class TcpTransportChannelFactory
- Parameters:
wireFormat
- remoteLocation
-
- Returns:
- the TransportChannel bound to the remote node
- Throws:
javax.jms.JMSException
create
public TransportChannel create(WireFormat wireFormat,
java.net.URI remoteLocation,
java.net.URI localLocation)
throws javax.jms.JMSException
- Create a Channel to a remote Node - e.g. a Broker
- Specified by:
create
in interface TransportChannelFactory
- Overrides:
create
in class TcpTransportChannelFactory
- Parameters:
wireFormat
- remoteLocation
- localLocation
- -
e.g. local InetAddress and local port
- Returns:
- the TransportChannel bound to the remote node
- Throws:
javax.jms.JMSException
createSocket
protected java.net.Socket createSocket(java.net.URI remoteLocation)
throws java.io.IOException
- Throws:
java.io.IOException
createSocket
protected java.net.Socket createSocket(java.net.URI remoteLocation,
java.net.URI localLocation)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.