org.fusesource.hawtdispatch.transport
Class PipeTransportRegistry

java.lang.Object
  extended by org.fusesource.hawtdispatch.transport.PipeTransportRegistry

public class PipeTransportRegistry
extends Object

Author:
Hiram Chirino

Field Summary
static HashMap<String,PipeTransportServer> servers
           
 
Constructor Summary
PipeTransportRegistry()
           
 
Method Summary
static TransportServer bind(String location)
           
static Transport connect(String location)
           
static Map<String,PipeTransportServer> getServers()
           
static PipeTransportServer lookup(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 HashMap<String,PipeTransportServer> servers
Constructor Detail

PipeTransportRegistry

public PipeTransportRegistry()
Method Detail

bind

public static TransportServer bind(String location)
                            throws URISyntaxException,
                                   IOException
Throws:
URISyntaxException
IOException

connect

public static Transport connect(String location)
                         throws IOException,
                                URISyntaxException
Throws:
IOException
URISyntaxException

lookup

public static PipeTransportServer lookup(String name)

getServers

public static Map<String,PipeTransportServer> getServers()

unbind

public static void unbind(PipeTransportServer server)


Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.