Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.activemq.transport.tcp
Class SfTransportChannelFactory

    java.lang.Object
      org.codehaus.activemq.transport.tcp.TcpTransportChannelFactory
          org.codehaus.activemq.transport.tcp.SfTransportChannelFactory

All Implemented Interfaces:
  TransportChannelFactory

Direct Known Subclasses:
  SslTransportChannelFactory

public class SfTransportChannelFactory
extends TcpTransportChannelFactory

A factory of TcpTransportChannelFactory instances using a SocketFactory

Version:
  $Revision: 1.5 $

Constructor Summary
`SfTransportChannelFactory(javax.net.SocketFactory socketFactory)`

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 org.codehaus.activemq.transport.tcp.TcpTransportChannelFactory
`requiresEmbeddedBroker`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SfTransportChannelFactory

    public SfTransportChannelFactory(javax.net.SocketFactory socketFactory)

Method Detail

### create

    public TransportChannel create(WireFormat wireFormat,
                                   java.net.URI remoteLocation)
                            throws 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:
    `JMSException`

### create

    public TransportChannel create(WireFormat wireFormat,
                                   java.net.URI remoteLocation,
                                   java.net.URI localLocation)
                            throws 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:
    `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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Protique, Ltd.. All Rights Reserved.