Package org.cybergarage.upnp.control

Examples of org.cybergarage.upnp.control.ActionRequest


  private void soapActionRecieved(HTTPRequest soapReq) {
    String uri = soapReq.getURI();
    Service ctlService = getServiceByControlURL(uri);
    if (ctlService != null) {
      ActionRequest crlReq = new ActionRequest(soapReq);
      deviceControlRequestRecieved(crlReq, ctlService);
      return;
    }
    soapBadActionRecieved(soapReq);
  }
View Full Code Here


  private void deviceControlRequestRecieved(ControlRequest ctlReq,
      Service service) {
    if (ctlReq.isQueryControl() == true)
      deviceQueryControlRecieved(new QueryRequest(ctlReq), service);
    else
      deviceActionControlRecieved(new ActionRequest(ctlReq), service);
  }
View Full Code Here

  public boolean postControlAction()
  {
    // Thanks for Giordano Sassaroli <sassarol@cefriel.it> (08/30/03)
    ArgumentList actionArgList = getArgumentList();
    ArgumentList actionInputArgList = getInputArgumentList();   
    ActionRequest ctrlReq = new ActionRequest();
    ctrlReq.setRequest(this, actionInputArgList);
    if (Debug.isOn() == true)
      ctrlReq.print();
    ActionResponse ctrlRes = ctrlReq.post();
    if (Debug.isOn() == true)
      ctrlRes.print();
    setControlResponse(ctrlRes);
    // Thanks for Dimas <cyberrate@users.sourceforge.net> and Stefano Lenzi <kismet-sl@users.sourceforge.net> (07/09/04)
    int statCode = ctrlRes.getStatusCode();
View Full Code Here

TOP

Related Classes of org.cybergarage.upnp.control.ActionRequest

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.