Tabnine Logo
ServerToHostProtocolHandler$ServerReconnectRequestHandler
Code IndexAdd Tabnine to your IDE (free)

How to use
ServerToHostProtocolHandler$ServerReconnectRequestHandler
in
org.jboss.as.host.controller.mgmt

Best Java code snippets using org.jboss.as.host.controller.mgmt.ServerToHostProtocolHandler$ServerReconnectRequestHandler (Showing top 3 results out of 315)

origin: org.wildfly.core/wildfly-host-controller

@Override
public ManagementRequestHandler<?, ?> resolveHandler(final RequestHandlerChain handlers, final ManagementRequestHeader header) {
  final byte operationId = header.getOperationId();
  switch (operationId) {
    case DomainServerProtocol.REGISTER_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerRegistrationRequestHandler();
    case DomainServerProtocol.SERVER_RECONNECT_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerReconnectRequestHandler();
    case DomainServerProtocol.GET_FILE_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new GetFileOperation();
    case DomainServerProtocol.SERVER_STARTED_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), serverInventory);
      return new ServerStartedHandler(serverProcessName);
    case DomainServerProtocol.SERVER_INSTABILITY_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), serverInventory);
      return new ServerUnstableHandler(serverProcessName);
  }
  return handlers.resolveNext();
}
origin: wildfly/wildfly-core

@Override
public ManagementRequestHandler<?, ?> resolveHandler(final RequestHandlerChain handlers, final ManagementRequestHeader header) {
  final byte operationId = header.getOperationId();
  switch (operationId) {
    case DomainServerProtocol.REGISTER_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerRegistrationRequestHandler();
    case DomainServerProtocol.SERVER_RECONNECT_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerReconnectRequestHandler();
    case DomainServerProtocol.GET_FILE_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new GetFileOperation();
    case DomainServerProtocol.SERVER_STARTED_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), serverInventory);
      return new ServerStartedHandler(serverProcessName);
    case DomainServerProtocol.SERVER_INSTABILITY_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), serverInventory);
      return new ServerUnstableHandler(serverProcessName);
  }
  return handlers.resolveNext();
}
origin: org.jboss.as/jboss-as-host-controller

@Override
public ManagementRequestHandler<?, ?> resolveHandler(final RequestHandlerChain handlers, final ManagementRequestHeader header) {
  final byte operationId = header.getOperationId();
  switch (operationId) {
    case DomainServerProtocol.REGISTER_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerRegistrationRequestHandler();
    case DomainServerProtocol.SERVER_RECONNECT_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new ServerReconnectRequestHandler();
    case DomainServerProtocol.GET_FILE_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), null);
      return new GetFileOperation();
    case DomainServerProtocol.SERVER_STARTED_REQUEST:
      handlers.registerActiveOperation(header.getBatchId(), serverInventory);
      return new ServerStartedHandler(serverProcessName);
  }
  return handlers.resolveNext();
}
org.jboss.as.host.controller.mgmtServerToHostProtocolHandler$ServerReconnectRequestHandler

Javadoc

Handler responsible for handling server reconnnects.

Most used methods

  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Join (org.hibernate.mapping)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now