Search in sources :

Example 6 with ArgumentList

use of org.cybergarage.upnp.ArgumentList in project felix by apache.

the class UPnPActionImpl method getOutputArgumentNames.

/* (non-Javadoc)
	 * @see org.osgi.service.upnp.UPnPAction#getOutputArgumentNames()
	 */
public String[] getOutputArgumentNames() {
    // TODO to check
    ArgumentList argsList = act.getOutputArgumentList();
    if (argsList.size() == 0) {
        return null;
    }
    String[] outArgs = new String[argsList.size()];
    for (int i = 0; i < argsList.size(); i++) {
        outArgs[i] = argsList.getArgument(i).getName();
    }
    return outArgs;
}
Also used : ArgumentList(org.cybergarage.upnp.ArgumentList)

Aggregations

ArgumentList (org.cybergarage.upnp.ArgumentList)6 Argument (org.cybergarage.upnp.Argument)4 Properties (java.util.Properties)2 InvalidSyntaxException (org.osgi.framework.InvalidSyntaxException)2 UPnPAction (org.osgi.service.upnp.UPnPAction)2 UPnPException (org.osgi.service.upnp.UPnPException)2 UPnPService (org.osgi.service.upnp.UPnPService)2 UPnPStateVariable (org.osgi.service.upnp.UPnPStateVariable)2 Dictionary (java.util.Dictionary)1 Action (org.cybergarage.upnp.Action)1 AllowedValueList (org.cybergarage.upnp.AllowedValueList)1 AllowedValueRange (org.cybergarage.upnp.AllowedValueRange)1 ControlPoint (org.cybergarage.upnp.ControlPoint)1 Service (org.cybergarage.upnp.Service)1 StateVariable (org.cybergarage.upnp.StateVariable)1 UPnPStatus (org.cybergarage.upnp.UPnPStatus)1 UPnPDevice (org.osgi.service.upnp.UPnPDevice)1