org.activeio.net
Class VMPipeAsyncChannelFactory

java.lang.Object
  extended byorg.activeio.net.VMPipeAsyncChannelFactory
All Implemented Interfaces:
AsyncChannelFactory

public final class VMPipeAsyncChannelFactory
extends Object
implements AsyncChannelFactory

Version:
$Revision$

Nested Class Summary
static class VMPipeAsyncChannelFactory.ClassloaderAsyncChannelAdapter
          Used to marshal calls to a PipeChannel in a different classloader.
 
Constructor Summary
VMPipeAsyncChannelFactory()
           
 
Method Summary
 AsyncChannelServer bindAsyncChannel(URI bindURI)
          Binds a server at the URI location.
static void bindServer(URI bindURI, VMPipeAsyncChannelServer server)
           
static String getServerKeyForURI(URI location)
           
 boolean isForceRefelection()
           
static Object lookupServer(URI location)
           
 AsyncChannel openAsyncChannel(URI location)
          Opens a connection to server.
 void setForceRefelection(boolean forceRefelection)
           
static void unbindServer(URI bindURI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMPipeAsyncChannelFactory

public VMPipeAsyncChannelFactory()
Method Detail

openAsyncChannel

public AsyncChannel openAsyncChannel(URI location)
                              throws IOException
Description copied from interface: AsyncChannelFactory
Opens a connection to server.

Specified by:
openAsyncChannel in interface AsyncChannelFactory
Parameters:
location -
Returns:
Throws:
IOException

bindAsyncChannel

public AsyncChannelServer bindAsyncChannel(URI bindURI)
                                    throws IOException
Description copied from interface: AsyncChannelFactory
Binds a server at the URI location.

Specified by:
bindAsyncChannel in interface AsyncChannelFactory
Parameters:
bindURI -
Returns:
Throws:
IOException

getServerKeyForURI

public static String getServerKeyForURI(URI location)

bindServer

public static void bindServer(URI bindURI,
                              VMPipeAsyncChannelServer server)
                       throws IOException
Throws:
IOException

lookupServer

public static Object lookupServer(URI location)
                           throws IOException
Throws:
IOException

unbindServer

public static void unbindServer(URI bindURI)

isForceRefelection

public boolean isForceRefelection()

setForceRefelection

public void setForceRefelection(boolean forceRefelection)


Copyright © -2007 The ActiveIO Project. All Rights Reserved.