YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
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< IN extends StreamRequestMessage, OUT extends 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 ()
 
- Public Member Functions inherited from de.yaacc.upnp.protocol.ReceivingAsync< IN >
M getInputMessage ()
 
void run ()
 
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< IN extends StreamRequestMessage, OUT extends StreamResponseMessage >
 ReceivingSync (IN inputMessage)
 
final void execute () throws IOException
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.ReceivingAsync< IN >
 ReceivingAsync (M inputMessage)
 
boolean waitBeforeExecution () throws InterruptedException
 Provides an opportunity to pause before executing the protocol.
 
abstract void execute () throws IOException
 

Additional Inherited Members

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

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

◆ executeSync()

StreamResponseMessage de.yaacc.upnp.protocol.sync.ReceivingRetrieval.executeSync ( ) throws IOException
protected

◆ 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: