public class ServerToHostOperationHandlerFactoryService extends Object implements ManagementChannelInitialization, org.jboss.msc.service.Service<ManagementChannelInitialization>
HostControllerServerClient| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
ManagementChannelInitialization |
getValue() |
static void |
install(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.msc.service.ServiceName serverInventoryName,
ExecutorService executorService,
DeploymentFileRepository deploymentFileRepository) |
protected static void |
safeWriteResponse(org.jboss.remoting3.Channel channel,
ManagementProtocolHeader header,
byte param) |
protected static void |
safeWriteResponse(org.jboss.remoting3.Channel channel,
ManagementProtocolHeader header,
Exception error) |
void |
start(org.jboss.msc.service.StartContext context) |
org.jboss.remoting3.HandleableCloseable.Key |
startReceiving(org.jboss.remoting3.Channel channel)
Initialize the management channel and start receiving request.
|
void |
stop(org.jboss.msc.service.StopContext context) |
protected static void |
writeHeader(ManagementProtocolHeader header,
OutputStream os) |
protected static void |
writeResponse(org.jboss.remoting3.Channel channel,
ManagementRequestHeader header,
byte param) |
protected static void |
writeResponse(org.jboss.remoting3.Channel channel,
ManagementRequestHeader header,
Exception error) |
public static void install(org.jboss.msc.service.ServiceTarget serviceTarget,
org.jboss.msc.service.ServiceName serverInventoryName,
ExecutorService executorService,
DeploymentFileRepository deploymentFileRepository)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<ManagementChannelInitialization>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<ManagementChannelInitialization>public ManagementChannelInitialization getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<ManagementChannelInitialization>IllegalStateExceptionIllegalArgumentExceptionpublic org.jboss.remoting3.HandleableCloseable.Key startReceiving(org.jboss.remoting3.Channel channel)
ManagementChannelInitializationstartReceiving in interface ManagementChannelInitializationchannel - opened channelprotected static void safeWriteResponse(org.jboss.remoting3.Channel channel,
ManagementProtocolHeader header,
Exception error)
protected static void writeResponse(org.jboss.remoting3.Channel channel,
ManagementRequestHeader header,
Exception error)
throws IOException
IOExceptionprotected static void safeWriteResponse(org.jboss.remoting3.Channel channel,
ManagementProtocolHeader header,
byte param)
protected static void writeResponse(org.jboss.remoting3.Channel channel,
ManagementRequestHeader header,
byte param)
throws IOException
IOExceptionprotected static void writeHeader(ManagementProtocolHeader header, OutputStream os) throws IOException
IOExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.