Package org.jboss.as.remoting
Class EndpointService
- java.lang.Object
-
- org.jboss.as.remoting.EndpointService
-
- All Implemented Interfaces:
org.jboss.msc.Service
public class EndpointService extends Object implements org.jboss.msc.Service
An MSC service for Remoting endpoints.- Author:
- David M. Lloyd, Richard Opalka
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEndpointService.EndpointType
-
Field Summary
Fields Modifier and Type Field Description protected org.jboss.remoting3.Endpointendpointprotected StringendpointNameprotected org.xnio.OptionMapoptionMap
-
Constructor Summary
Constructors Constructor Description EndpointService(Consumer<org.jboss.remoting3.Endpoint> endpointConsumer, Supplier<org.xnio.XnioWorker> workerSupplier, String nodeName, EndpointService.EndpointType type, org.xnio.OptionMap optionMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Field Detail
-
endpointName
protected final String endpointName
-
endpoint
protected volatile org.jboss.remoting3.Endpoint endpoint
-
optionMap
protected final org.xnio.OptionMap optionMap
-
-
Constructor Detail
-
EndpointService
public EndpointService(Consumer<org.jboss.remoting3.Endpoint> endpointConsumer, Supplier<org.xnio.XnioWorker> workerSupplier, String nodeName, EndpointService.EndpointType type, org.xnio.OptionMap optionMap)
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service
-
-