public class SendingEvent extends SendingSync<OutgoingEventRequestMessage,StreamResponseMessage>
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.
Modifier and Type | Field and Description |
---|---|
protected UnsignedIntegerFourBytes |
currentSequence |
protected OutgoingEventRequestMessage[] |
requestMessages |
protected String |
subscriptionId |
outputMessage
Constructor and Description |
---|
SendingEvent(UpnpService upnpService,
LocalGENASubscription subscription) |
Modifier and Type | Method and Description |
---|---|
protected StreamResponseMessage |
executeSync() |
execute, getInputMessage, getOutputMessage, toString
getUpnpService, run
protected final String subscriptionId
protected final OutgoingEventRequestMessage[] requestMessages
protected final UnsignedIntegerFourBytes currentSequence
public SendingEvent(UpnpService upnpService, LocalGENASubscription subscription)
protected StreamResponseMessage executeSync() throws RouterException
executeSync
in class SendingSync<OutgoingEventRequestMessage,StreamResponseMessage>
RouterException
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.