public final class Remoting extends Object
Modifier and Type | Method and Description |
---|---|
static Endpoint |
createEndpoint()
Create an anonymous endpoint.
|
static Endpoint |
createEndpoint(OptionMap optionMap)
Create an anonymous endpoint.
|
static Endpoint |
createEndpoint(String endpointName,
OptionMap optionMap)
Create a new endpoint with the given configuration.
|
static Endpoint |
createEndpoint(String endpointName,
Xnio xnio,
OptionMap optionMap)
Create an endpoint with the given configuration.
|
public static Endpoint createEndpoint(String endpointName, Xnio xnio, OptionMap optionMap) throws IOException
endpointName
- the name of the endpointxnio
- the XNIO instance to useoptionMap
- the options to configure the endpointIOException
- if an error occurspublic static Endpoint createEndpoint(String endpointName, OptionMap optionMap) throws IOException
endpointName
- the name of the endpointoptionMap
- the options to configure the endpointIOException
- if an error occurspublic static Endpoint createEndpoint(OptionMap optionMap) throws IOException
optionMap
- the options to configure the endpointIOException
- if an error occurspublic static Endpoint createEndpoint() throws IOException
IOException
- if an error occursCopyright © 2018 JBoss by Red Hat. All rights reserved.