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
Class TransportChannelProvider

    java.lang.Object
      org.codehaus.activemq.transport.TransportChannelProvider

public class TransportChannelProvider
extends java.lang.Object

A TransportChannel is used for tranporting packets between nodes

Version:
  $Revision: 1.12 $

Constructor Summary
`TransportChannelProvider()`

Method Summary
`static TransportChannel` | `create(WireFormat wireFormat, java.net.URI remoteLocation)` Create a Channel to a remote Node - e.g.
`static TransportChannel` | `create(WireFormat wireFormat, java.net.URI remoteLocation, java.net.URI localLocation)` Create a Channel to a remote Node - e.g.
`protected static JMSException` | `createJMSexception(java.lang.String protocol, java.lang.Exception e)`
`static TransportChannelFactory` | `getFactory(java.net.URI remoteLocation)`

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

Constructor Detail

### TransportChannelProvider

    public TransportChannelProvider()

Method Detail

### create

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

  Throws:
    `JMSException`

### createJMSexception

    protected static JMSException createJMSexception(java.lang.String protocol,
                                                     java.lang.Exception e)

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.