Supertype for all asynchronously executing protocols, handling reception of UPnP messages.
More...
|
UpnpService | getUpnpService () |
|
M | getInputMessage () |
|
void | run () |
|
String | toString () |
|
|
| ReceivingAsync (UpnpService upnpService, M inputMessage) |
|
boolean | waitBeforeExecution () throws InterruptedException |
| Provides an opportunity to pause before executing the protocol.
|
|
abstract void | execute () throws RouterException |
|
Supertype for all asynchronously executing protocols, handling reception of UPnP messages.
After instantiation by the ProtocolFactory
, this protocol run()
s and calls its own waitBeforeExecution()
method. By default, the protocol does not wait before then proceeding with execute()
.
- Parameters
-
<M> | The type of UPnP message handled by this protocol. |
- Author
- Christian Bauer
◆ waitBeforeExecution()
Provides an opportunity to pause before executing the protocol.
- Returns
true
(default) if execution should continue after waiting.
- Exceptions
-
InterruptedException | If waiting has been interrupted, which also stops execution. |
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/org/fourthline/cling/protocol/ReceivingAsync.java