org.apache.activemq.apollo.transport.pipe
Class PipeTransportFactory

java.lang.Object
  extended by org.apache.activemq.apollo.transport.pipe.PipeTransportFactory
All Implemented Interfaces:
TransportFactory.Provider

public class PipeTransportFactory
extends java.lang.Object
implements TransportFactory.Provider

Author:
Hiram Chirino

Field Summary
static java.util.HashMap<java.lang.String,PipeTransportServer> servers
           
 
Constructor Summary
PipeTransportFactory()
           
 
Method Summary
 TransportServer bind(java.lang.String location)
           
 Transport connect(java.lang.String location)
           
static java.util.Map<java.lang.String,PipeTransportServer> getServers()
           
static PipeTransportServer lookup(java.lang.String name)
           
static void unbind(PipeTransportServer server)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servers

public static final java.util.HashMap<java.lang.String,PipeTransportServer> servers
Constructor Detail

PipeTransportFactory

public PipeTransportFactory()
Method Detail

bind

public TransportServer bind(java.lang.String location)
                     throws java.net.URISyntaxException,
                            java.io.IOException
Specified by:
bind in interface TransportFactory.Provider
Throws:
java.net.URISyntaxException
java.io.IOException

connect

public Transport connect(java.lang.String location)
                  throws java.io.IOException,
                         java.net.URISyntaxException
Specified by:
connect in interface TransportFactory.Provider
Throws:
java.io.IOException
java.net.URISyntaxException

lookup

public static PipeTransportServer lookup(java.lang.String name)

getServers

public static java.util.Map<java.lang.String,PipeTransportServer> getServers()

unbind

public static void unbind(PipeTransportServer server)


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.