JBoss Remoting 3 3.2.0.Beta2-redhat-1

org.jboss.remoting3
Class Remoting

java.lang.Object
  extended by org.jboss.remoting3.Remoting

public final class Remoting
extends Object

The standalone interface into Remoting. This class contains static methods that are useful to standalone programs for managing endpoints and services in a simple fashion.


Method Summary
static Endpoint createEndpoint(String endpointName, Executor executor, org.xnio.OptionMap optionMap)
          Create an endpoint configured with the given option map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createEndpoint

public static Endpoint createEndpoint(String endpointName,
                                      Executor executor,
                                      org.xnio.OptionMap optionMap)
                               throws IOException
Create an endpoint configured with the given option map. The following options are supported:

Parameters:
endpointName - the endpoint name
executor - the thread pool to use
optionMap - the endpoint options
Returns:
the endpoint
Throws:
IOException - if an error occurs

JBoss Remoting 3 3.2.0.Beta2-redhat-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.