JBoss Remoting 3 3.2.14.GA-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()
          Create an anonymous endpoint.
static Endpoint createEndpoint(org.xnio.OptionMap optionMap)
          Create an anonymous endpoint.
static Endpoint createEndpoint(String endpointName, org.xnio.OptionMap optionMap)
          Create a new endpoint with the given configuration.
static Endpoint createEndpoint(String endpointName, org.xnio.Xnio xnio, org.xnio.OptionMap optionMap)
          Create an endpoint with the given configuration.
 
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,
                                      org.xnio.Xnio xnio,
                                      org.xnio.OptionMap optionMap)
                               throws IOException
Create an endpoint with the given configuration.

Parameters:
endpointName - the name of the endpoint
xnio - the XNIO instance to use
optionMap - the options to configure the endpoint
Returns:
the new endpoint
Throws:
IOException - if an error occurs

createEndpoint

public static Endpoint createEndpoint(String endpointName,
                                      org.xnio.OptionMap optionMap)
                               throws IOException
Create a new endpoint with the given configuration. The XNIO implementation which is visible from the class loader of this class will be used.

Parameters:
endpointName - the name of the endpoint
optionMap - the options to configure the endpoint
Returns:
the new endpoint
Throws:
IOException - if an error occurs

createEndpoint

public static Endpoint createEndpoint(org.xnio.OptionMap optionMap)
                               throws IOException
Create an anonymous endpoint.

Parameters:
optionMap - the options to configure the endpoint
Returns:
the new endpoint
Throws:
IOException - if an error occurs

createEndpoint

public static Endpoint createEndpoint()
                               throws IOException
Create an anonymous endpoint.

Returns:
the new endpoint
Throws:
IOException - if an error occurs

JBoss Remoting 3 3.2.14.GA-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.