Package org.jboss.as.remoting
Class EndpointService
java.lang.Object
org.jboss.as.remoting.EndpointService
- All Implemented Interfaces:
org.jboss.msc.Service
An MSC service for Remoting endpoints.
- Author:
- David M. Lloyd, Richard Opalka
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.jboss.remoting3.Endpointprotected final Stringprotected final org.xnio.OptionMapFields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionEndpointService(Consumer<org.jboss.remoting3.Endpoint> endpointConsumer, Supplier<org.xnio.XnioWorker> workerSupplier, String nodeName, EndpointService.EndpointType type, org.xnio.OptionMap optionMap) -
Method Summary
-
Field Details
-
endpointName
-
endpoint
protected volatile org.jboss.remoting3.Endpoint endpoint -
optionMap
protected final org.xnio.OptionMap optionMap
-
-
Constructor Details
-
EndpointService
public EndpointService(Consumer<org.jboss.remoting3.Endpoint> endpointConsumer, Supplier<org.xnio.XnioWorker> workerSupplier, String nodeName, EndpointService.EndpointType type, org.xnio.OptionMap optionMap)
-
-
Method Details
-
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
-