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;
}
Aggregations