public abstract class Browse
extends org.fourthline.cling.controlpoint.ActionCallback
Modifier and Type | Class and Description |
---|---|
static class |
Browse.Status |
Modifier and Type | Field and Description |
---|---|
static String |
CAPS_WILDCARD |
Constructor and Description |
---|
Browse(org.fourthline.cling.model.meta.Service service,
String containerId,
BrowseFlag flag)
Browse with first result 0 and
getDefaultMaxResults() , filters with CAPS_WILDCARD . |
Browse(org.fourthline.cling.model.meta.Service service,
String objectID,
BrowseFlag flag,
String filter,
long firstResult,
Long maxResults,
SortCriterion... orderBy) |
Modifier and Type | Method and Description |
---|---|
long |
getDefaultMaxResults()
Some media servers will crash if there is no limit on the maximum number of results.
|
abstract void |
received(org.fourthline.cling.model.action.ActionInvocation actionInvocation,
DIDLContent didl) |
boolean |
receivedRaw(org.fourthline.cling.model.action.ActionInvocation actionInvocation,
BrowseResult browseResult) |
void |
run() |
void |
success(org.fourthline.cling.model.action.ActionInvocation invocation) |
abstract void |
updateStatus(Browse.Status status) |
public static final String CAPS_WILDCARD
public Browse(org.fourthline.cling.model.meta.Service service, String containerId, BrowseFlag flag)
getDefaultMaxResults()
, filters with CAPS_WILDCARD
.public Browse(org.fourthline.cling.model.meta.Service service, String objectID, BrowseFlag flag, String filter, long firstResult, Long maxResults, SortCriterion... orderBy)
maxResults
- Can be null
, then getDefaultMaxResults()
is used.public void run()
public void success(org.fourthline.cling.model.action.ActionInvocation invocation)
success
in class org.fourthline.cling.controlpoint.ActionCallback
public long getDefaultMaxResults()
public boolean receivedRaw(org.fourthline.cling.model.action.ActionInvocation actionInvocation, BrowseResult browseResult)
public abstract void received(org.fourthline.cling.model.action.ActionInvocation actionInvocation, DIDLContent didl)
public abstract void updateStatus(Browse.Status status)
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.