Package org.hpi.dialogue.protocol.request

Examples of org.hpi.dialogue.protocol.request.ServerShutdownRequest


            throw new RuntimeException(e.getMessage());
        }
    }

    public ServerShutdownResponse serverShutdown() {
        return (ServerShutdownResponse) this.writeAndGetResponse(new ServerShutdownRequest());
    }
View Full Code Here


        return new LoginRequest(
          new User(
            parameters.getLeaf(HPIDialogueConstants.NICKNAME).getValue(),
            parameters.getLeaf(HPIDialogueConstants.PASSPHRASE).getValue()));
      } else if (serviceName.equals(HPIDialogueConstants.SERVER_SHUTDOWN_SERVICE)) {
        return new ServerShutdownRequest();
      } else if (serviceName.equals(HPIDialogueConstants.LIST_INVOKERS_SERVICE)) {
        return new ListInvokersRequest(parameters.getLeaf(HPIDialogueConstants.SESSION_ID).getValue());
      } else if (serviceName.equals(HPIDialogueConstants.DESCRIBE_INVOKER_SERVICE)) {
        return new DescribeInvokerRequest(parameters.getLeaf(HPIDialogueConstants.SESSION_ID).getValue(), parameters.getLeaf(HPIDialogueConstants.INVOKER_ID).getValue());
      } else if (serviceName.equals(HPIDialogueConstants.LOGOFF_SERVICE)) {
View Full Code Here

      throw new RuntimeException(e);
    }
  }
 
  public ServerShutdownResponse serverShutdown() {
    return (ServerShutdownResponse) this.writeAndGetResponse(new ServerShutdownRequest());
  }
View Full Code Here

        return new LoginRequest(
          new User(
            parameters.getLeaf(HPIDialogueConstants.NICKNAME).getValue(),
            parameters.getLeaf(HPIDialogueConstants.PASSPHRASE).getValue()));
      } else if (serviceName.equals(HPIDialogueConstants.SERVER_SHUTDOWN_SERVICE)) {
        return new ServerShutdownRequest();
      } else if (serviceName.equals(HPIDialogueConstants.LIST_INVOKERS_SERVICE)) {
        return new ListInvokersRequest(parameters.getLeaf(HPIDialogueConstants.SESSION_ID).getValue());
      } else if (serviceName.equals(HPIDialogueConstants.DESCRIBE_INVOKER_SERVICE)) {
        return new DescribeInvokerRequest(parameters.getLeaf(HPIDialogueConstants.SESSION_ID).getValue(), parameters.getLeaf(HPIDialogueConstants.INVOKER_ID).getValue());
      } else if (serviceName.equals(HPIDialogueConstants.LOGOFF_SERVICE)) {
View Full Code Here

TOP

Related Classes of org.hpi.dialogue.protocol.request.ServerShutdownRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.