public class EndpointService extends Object implements org.jboss.msc.Service
| Modifier and Type | Class and Description |
|---|---|
static class |
EndpointService.EndpointType |
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.remoting3.Endpoint |
endpoint |
protected String |
endpointName |
protected org.xnio.OptionMap |
optionMap |
| Constructor and Description |
|---|
EndpointService(Consumer<org.jboss.remoting3.Endpoint> endpointConsumer,
Supplier<org.xnio.XnioWorker> workerSupplier,
String nodeName,
EndpointService.EndpointType type,
org.xnio.OptionMap optionMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
protected final String endpointName
protected volatile org.jboss.remoting3.Endpoint endpoint
protected final org.xnio.OptionMap optionMap
public EndpointService(Consumer<org.jboss.remoting3.Endpoint> endpointConsumer, Supplier<org.xnio.XnioWorker> workerSupplier, String nodeName, EndpointService.EndpointType type, org.xnio.OptionMap optionMap)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.ServiceCopyright © 2022 JBoss by Red Hat. All rights reserved.