YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.protocol.sync.SendingEvent Class Reference

Sending GENA event messages to remote subscribers. More...

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

Public Member Functions

 SendingEvent (HttpRequestSender httpRequestSender, LocalGENASubscription subscription)
 
- Public Member Functions inherited from de.yaacc.upnp.protocol.SendingSync< IN extends StreamRequestMessage, OUT extends StreamResponseMessage >
IN getInputMessage ()
 
OUT getOutputMessage ()
 
String toString ()
 
- Public Member Functions inherited from de.yaacc.upnp.protocol.SendingAsync
void run ()
 

Protected Member Functions

StreamResponseMessage executeSync () throws IOException
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.SendingSync< IN extends StreamRequestMessage, OUT extends StreamResponseMessage >
 SendingSync (IN inputMessage)
 
final void execute () throws IOException
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.SendingAsync

Protected Attributes

final String subscriptionId
 
final OutgoingEventRequestMessage[] requestMessages
 
final UnsignedIntegerFourBytes currentSequence
 
- Protected Attributes inherited from de.yaacc.upnp.protocol.SendingSync< IN extends StreamRequestMessage, OUT extends StreamResponseMessage >
OUT outputMessage
 

Detailed Description

Sending GENA event messages to remote subscribers.

Any LocalGENASubscription instantiates and executes this protocol when the state of a local service changes. However, a remote subscriber might require event notification messages on more than one callback URL, so this protocol potentially sends many messages. What is returned is always the last response, that is, the response for the message sent to the last callback URL in the list of the subscriber.

Author
Christian Bauer

Member Function Documentation

◆ executeSync()

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

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