YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
de.yaacc.upnp.model.YaaccRes Class Reference

Lightweight Resource wrapper that avoids Cling overhead. More...

Collaboration diagram for de.yaacc.upnp.model.YaaccRes:
Collaboration graph

Public Member Functions

 YaaccRes (ProtocolInfo protocolInfo, Long size, String duration, Long bitrate, String value)
 
 YaaccRes (ProtocolInfo protocolInfo, Long size, String duration, Long bitrate, Long sampleFrequency, Long nrAudioChannels, Long bitsPerSample, String value)
 
 YaaccRes (ProtocolInfo protocolInfo, Long size, String resolution, String value)
 
ProtocolInfo getProtocolInfo ()
 
Long getSize ()
 
String getDuration ()
 
Long getBitrate ()
 
Long getSampleFrequency ()
 
Long getNrAudioChannels ()
 
Long getBitsPerSample ()
 
String getResolution ()
 
String getValue ()
 
Res toClingRes ()
 Convert to Cling Res for UPnP serialization.
 

Static Public Member Functions

static YaaccRes fromClingRes (Res res)
 Create from Cling Res.
 

Detailed Description

Lightweight Resource wrapper that avoids Cling overhead.

Converts to Cling Res only when needed for serialization.


The documentation for this class was generated from the following file: