org.teleal.cling.protocol.sync
Class ReceivingEvent
java.lang.Object
org.teleal.cling.protocol.ReceivingAsync<IN>
org.teleal.cling.protocol.ReceivingSync<StreamRequestMessage,OutgoingEventResponseMessage>
org.teleal.cling.protocol.sync.ReceivingEvent
- All Implemented Interfaces:
- Runnable
public class ReceivingEvent
- extends ReceivingSync<StreamRequestMessage,OutgoingEventResponseMessage>
Handles incoming GENA event messages.
Attempts to find an outgoing (remote) subscription matching the callback and subscription identifier.
Once found, the GENA event message payload will be transformed and the
RemoteGENASubscription.receive(org.teleal.cling.model.types.UnsignedIntegerFourBytes,
java.util.Collection)
method will be called asynchronously using the executor
returned by UpnpServiceConfiguration.getRegistryListenerExecutor()
.
- Author:
- Christian Bauer
ReceivingEvent
public ReceivingEvent(UpnpService upnpService,
StreamRequestMessage inputMessage)
executeSync
protected OutgoingEventResponseMessage executeSync()
- Specified by:
executeSync
in class ReceivingSync<StreamRequestMessage,OutgoingEventResponseMessage>
Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.