Search in sources :

Example 1 with ActionList

use of org.cybergarage.upnp.ActionList in project i2p.i2p by i2p.

the class UPnP method listActions.

/**
 * debug only
 */
private static void listActions(Service service, StringBuilder sb) {
    ActionList al = service.getActionList();
    sb.append("<ul>");
    for (int i = 0; i < al.size(); i++) {
        Action action = al.getAction(i);
        if (action == null)
            continue;
        sb.append("<li>").append(DataHelper.escapeHTML(action.getName()));
        listActionsArguments(action, sb);
        sb.append("</li>");
    }
    sb.append("</ul>");
}
Also used : Action(org.cybergarage.upnp.Action) ActionList(org.cybergarage.upnp.ActionList) ControlPoint(org.cybergarage.upnp.ControlPoint)

Aggregations

Action (org.cybergarage.upnp.Action)1 ActionList (org.cybergarage.upnp.ActionList)1 ControlPoint (org.cybergarage.upnp.ControlPoint)1