public abstract class AbstractOutboundConnectionService<T extends AbstractOutboundConnectionService> extends Object implements org.jboss.msc.service.Service<T>
| Modifier and Type | Field and Description |
|---|---|
protected org.xnio.OptionMap |
connectionCreationOptions |
protected String |
connectionName |
protected org.jboss.msc.value.InjectedValue<org.jboss.remoting3.Endpoint> |
endpointInjectedValue |
static org.jboss.msc.service.ServiceName |
OUTBOUND_CONNECTION_BASE_SERVICE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOutboundConnectionService(String connectionName,
org.xnio.OptionMap connectionCreationOptions) |
| Modifier and Type | Method and Description |
|---|---|
abstract org.xnio.IoFuture<org.jboss.remoting3.Connection> |
connect() |
String |
getConnectionName() |
abstract String |
getProtocol() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static final org.jboss.msc.service.ServiceName OUTBOUND_CONNECTION_BASE_SERVICE_NAME
protected final org.jboss.msc.value.InjectedValue<org.jboss.remoting3.Endpoint> endpointInjectedValue
protected volatile org.xnio.OptionMap connectionCreationOptions
protected final String connectionName
protected AbstractOutboundConnectionService(String connectionName, org.xnio.OptionMap connectionCreationOptions)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<T extends AbstractOutboundConnectionService>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<T extends AbstractOutboundConnectionService>public String getConnectionName()
public abstract org.xnio.IoFuture<org.jboss.remoting3.Connection> connect()
throws IOException
IOExceptionpublic abstract String getProtocol()
Copyright © 2017 JBoss by Red Hat. All rights reserved.