Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.support.contentdirectory
Class BrowseActionCallback

    java.lang.Object
      org.teleal.cling.controlpoint.ActionCallback
          org.teleal.cling.support.contentdirectory.BrowseActionCallback

All Implemented Interfaces:
  Runnable

Direct Known Subclasses:
  ContentBrowseActionCallback

    public abstract class BrowseActionCallback

extends org.teleal.cling.controlpoint.ActionCallback

Invokes a "Browse" action and calls back with a `DIDLLite` instance ready to use.

Author:
  Christian Bauer

Nested Class Summary
`static class` | `BrowseActionCallback.Status`

Nested classes/interfaces inherited from class org.teleal.cling.controlpoint.ActionCallback
`org.teleal.cling.controlpoint.ActionCallback.Default`

Field Summary

Fields inherited from class org.teleal.cling.controlpoint.ActionCallback
`actionInvocation, controlPoint`

Constructor Summary
`BrowseActionCallback(org.teleal.cling.model.meta.Service service, String containerId, boolean directChildren)`
`BrowseActionCallback(org.teleal.cling.model.meta.Service service, String containerId, boolean directChildren, String filter, long firstResult, Long maxResults, String orderBy)`

Method Summary
`void` | `failure(org.teleal.cling.model.action.ActionInvocation invocation, org.teleal.cling.model.message.UpnpResponse operation)`
`abstract void` | `failure(String failureMessage)`
`long` | `getDefaultMaxResults()`
`abstract void` | `received(org.teleal.cling.model.action.ActionInvocation actionInvocation, DIDLLite didl)`
`void` | `receivedRaw(org.teleal.cling.model.action.ActionInvocation actionInvocation, String xml)`
`void` | `run()`
`void` | `success(org.teleal.cling.model.action.ActionInvocation invocation)`
`abstract void` | `updateStatus(BrowseActionCallback.Status status)`

Methods inherited from class org.teleal.cling.controlpoint.ActionCallback
`createDefaultFailureMessage, getActionInvocation, getControlPoint, setControlPoint, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### BrowseActionCallback

    public BrowseActionCallback(org.teleal.cling.model.meta.Service service,
                                String containerId,
                                boolean directChildren)

### BrowseActionCallback

    public BrowseActionCallback(org.teleal.cling.model.meta.Service service,
                                String containerId,
                                boolean directChildren,
                                String filter,
                                long firstResult,
                                Long maxResults,
                                String orderBy)

Method Detail

### run

    public void run()

  Specified by:
    `run` in interface `Runnable`
  Overrides:
    `run` in class `org.teleal.cling.controlpoint.ActionCallback`

### success

    public void success(org.teleal.cling.model.action.ActionInvocation invocation)

  Specified by:
    `success` in class `org.teleal.cling.controlpoint.ActionCallback`

### failure

    public void failure(org.teleal.cling.model.action.ActionInvocation invocation,
                        org.teleal.cling.model.message.UpnpResponse operation)

  Specified by:
    `failure` in class `org.teleal.cling.controlpoint.ActionCallback`

### getDefaultMaxResults

    public long getDefaultMaxResults()

### receivedRaw

    public void receivedRaw(org.teleal.cling.model.action.ActionInvocation actionInvocation,
                            String xml)

### received

    public abstract void received(org.teleal.cling.model.action.ActionInvocation actionInvocation,
                                  DIDLLite didl)

### updateStatus

    public abstract void updateStatus(BrowseActionCallback.Status status)

### failure

    public abstract void failure(String failureMessage)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.