Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.fourthline.cling.protocol.sync
Class ReceivingEvent

    java.lang.Object
      org.fourthline.cling.protocol.ReceivingAsync<IN>
          org.fourthline.cling.protocol.ReceivingSync<StreamRequestMessage,OutgoingEventResponseMessage>
              org.fourthline.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.fourthline.cling.model.types.UnsignedIntegerFourBytes, java.util.Collection)` method will be called asynchronously using the executor returned by `UpnpServiceConfiguration.getRegistryListenerExecutor()`.

Author:
  Christian Bauer

Field Summary

Fields inherited from class org.fourthline.cling.protocol.ReceivingSync
`outputMessage, remoteClientInfo`

Constructor Summary
`ReceivingEvent(UpnpService upnpService, StreamRequestMessage inputMessage)`

Method Summary
`protected OutgoingEventResponseMessage` | `executeSync()`

Methods inherited from class org.fourthline.cling.protocol.ReceivingSync
`execute, getOutputMessage, getRemoteClientInfo, responseException, responseSent, toString`

Methods inherited from class org.fourthline.cling.protocol.ReceivingAsync
`getFirstHeader, getInputMessage, getUpnpService, run, waitBeforeExecution`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ReceivingEvent

    public ReceivingEvent(UpnpService upnpService,
                          StreamRequestMessage inputMessage)

Method Detail

### executeSync

    protected OutgoingEventResponseMessage executeSync()

  Specified by:
    `executeSync` in class `ReceivingSync<StreamRequestMessage,OutgoingEventResponseMessage>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.