Package org.hpi.dialogue.protocol.request

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


    public ExecuteInvokerResponse executeInvoker(String sessionId, String invokeId) {
        return (ExecuteInvokerResponse) this.writeAndGetResponse(new ExecuteInvokerRequest(sessionId, invokeId));
    }

    public LogoffResponse doLogoff(String sessionId) {
        return (LogoffResponse) this.writeAndGetResponse(new LogoffRequest(sessionId));
    }
View Full Code Here


      } 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);
    } else throw new RuntimeException("Unknow value to " + HPIDialogueConstants.SERVICE_TYPE + ", the value is: " + serviceType);
  }
View Full Code Here

  public ExecuteInvokerResponse executeInvoker(String sessionId, String invokeId) {
    return (ExecuteInvokerResponse) this.writeAndGetResponse(new ExecuteInvokerRequest(sessionId, invokeId));
  }
 
  public LogoffResponse doLogoff(String sessionId) {
    return (LogoffResponse) this.writeAndGetResponse(new LogoffRequest(sessionId));
  }
View Full Code Here

      } 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);
    } else throw new RuntimeException("Unknow value to " + HPIDialogueConstants.SERVICE_TYPE + ", the value is: " + serviceType);
  }
View Full Code Here

TOP

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

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.