Package org.hpi.dialogue.protocol.request

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


    public ListInvokersResponse listInvokers(String sessionId) {
        return (ListInvokersResponse) this.writeAndGetResponse(new ListInvokersRequest(sessionId));
    }

    public DescribeInvokerResponse describeInvoker(String sessionId, String invokeId) {
        return (DescribeInvokerResponse) this.writeAndGetResponse(new DescribeInvokerRequest(sessionId, invokeId));
    }
View Full Code Here


      } 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)) {
        return new LogoffRequest(parameters.getLeaf(HPIDialogueConstants.SESSION_ID).getValue());
      } else if (serviceName.equals(HPIDialogueConstants.EXECUTE_INVOKER_SERVICE)) {
        return new ExecuteInvokerRequest(parameters.getLeaf(HPIDialogueConstants.SESSION_ID).getValue(), parameters.getLeaf(HPIDialogueConstants.INVOKER_ID).getValue());
      } else throw new RuntimeException("Unknow value to " + HPIDialogueConstants.SERVICE_NAME + ", the value is: " + serviceName);
View Full Code Here

  public ListInvokersResponse listInvokers(String sessionId) {
    return (ListInvokersResponse) this.writeAndGetResponse(new ListInvokersRequest(sessionId));
  }
 
  public DescribeInvokerResponse describeInvoker(String sessionId, String invokeId) {
    return (DescribeInvokerResponse) this.writeAndGetResponse(new DescribeInvokerRequest(sessionId, invokeId));
  }
View Full Code Here

      } 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)) {
        return new LogoffRequest(parameters.getLeaf(HPIDialogueConstants.SESSION_ID).getValue());
      } else if (serviceName.equals(HPIDialogueConstants.EXECUTE_INVOKER_SERVICE)) {
        return new ExecuteInvokerRequest(parameters.getLeaf(HPIDialogueConstants.SESSION_ID).getValue(), parameters.getLeaf(HPIDialogueConstants.INVOKER_ID).getValue());
      } else throw new RuntimeException("Unknow value to " + HPIDialogueConstants.SERVICE_NAME + ", the value is: " + serviceName);
View Full Code Here

TOP

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

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.