Package org.jboss.remoting3
Class Remoting
- java.lang.Object
-
- org.jboss.remoting3.Remoting
-
@Deprecated public final class Remoting extends Object
Deprecated.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
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Endpoint
createEndpoint()
Deprecated.Create an anonymous endpoint.static Endpoint
createEndpoint(String endpointName, org.xnio.OptionMap optionMap)
Deprecated.Create a new endpoint with the given configuration.static Endpoint
createEndpoint(String endpointName, org.xnio.Xnio xnio, org.xnio.OptionMap optionMap)
Deprecated.Create an endpoint with the given configuration which manages its own worker.static Endpoint
createEndpoint(String endpointName, org.xnio.XnioWorker xnioWorker, org.xnio.OptionMap optionMap)
Deprecated.Create an endpoint with the given configuration and existing worker.static Endpoint
createEndpoint(org.xnio.OptionMap optionMap)
Deprecated.Create an anonymous endpoint.
-
-
-
Method Detail
-
createEndpoint
public static Endpoint createEndpoint(String endpointName, org.xnio.XnioWorker xnioWorker, org.xnio.OptionMap optionMap) throws IOException
Deprecated.Create an endpoint with the given configuration and existing worker.- Parameters:
endpointName
- the name of the endpointxnioWorker
- the XNIO worker instance to useoptionMap
- 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.Xnio xnio, org.xnio.OptionMap optionMap) throws IOException
Deprecated.Create an endpoint with the given configuration which manages its own worker.- Parameters:
endpointName
- the name of the endpointxnio
- the XNIO instance to useoptionMap
- 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
Deprecated.Create a new endpoint with the given configuration. This method (starting with 3.3) will use the class loader of XNIO itself to construct the XNIO implementation.- Parameters:
endpointName
- the name of the endpointoptionMap
- 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
Deprecated.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
Deprecated.Create an anonymous endpoint.- Returns:
- the new endpoint
- Throws:
IOException
- if an error occurs
-
-