YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
de.yaacc.upnp.protocol.sync.ReceivingRetrieval Class Reference

Handles reception of device/service descriptor and icon retrieval messages. More...

Inheritance diagram for de.yaacc.upnp.protocol.sync.ReceivingRetrieval:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.protocol.sync.ReceivingRetrieval:
Collaboration graph

Public Member Functions

 ReceivingRetrieval (Registry registry, StreamRequestMessage inputMessage)
 
- Public Member Functions inherited from de.yaacc.upnp.protocol.ReceivingSync< StreamRequestMessage, StreamResponseMessage >
OUT getOutputMessage ()
 
void responseSent (StreamResponseMessage responseMessage)
 Called by the client of this protocol after the returned response has been successfully delivered.
 
void responseException (Throwable t)
 Called by the client of this protocol if the returned response was not delivered.
 
RemoteClientInfo getRemoteClientInfo ()
 
String toString ()
 

Protected Member Functions

StreamResponseMessage executeSync () throws IOException
 
StreamResponseMessage createResponse (URI requestedURI, Resource resource)
 
Resource onResourceNotFound (URI requestedURIPath)
 Called if the org.fourthline.cling.registry.Registry had no result.
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.ReceivingSync< StreamRequestMessage, StreamResponseMessage >
 ReceivingSync (IN inputMessage)
 
final void execute () throws IOException
 
abstract OUT executeSync () throws IOException
 

Additional Inherited Members

- Protected Attributes inherited from de.yaacc.upnp.protocol.ReceivingSync< StreamRequestMessage, StreamResponseMessage >
final RemoteClientInfo remoteClientInfo
 
OUT outputMessage
 

Detailed Description

Handles reception of device/service descriptor and icon retrieval messages.

Requested device and service XML descriptors are generated on-the-fly for every request.

Descriptor XML is dynamically generated depending on the control point - some control points require different metadata than others for the same device and services.

Author
Christian Bauer

Member Function Documentation

◆ onResourceNotFound()

Resource de.yaacc.upnp.protocol.sync.ReceivingRetrieval.onResourceNotFound ( URI  requestedURIPath)
protected

Called if the org.fourthline.cling.registry.Registry had no result.

Parameters
requestedURIPathThe requested URI path
Returns
null or your own Resource

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