YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
de.yaacc.upnp.protocol.ReceivingAsync< M extends UpnpMessage > Class Template Referenceabstract

Supertype for all asynchronously executing protocols, handling reception of UPnP messages. More...

Inheritance diagram for de.yaacc.upnp.protocol.ReceivingAsync< M extends UpnpMessage >:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.protocol.ReceivingAsync< M extends UpnpMessage >:
Collaboration graph

Public Member Functions

getInputMessage ()
 
void run ()
 
String toString ()
 

Protected Member Functions

 ReceivingAsync (M inputMessage)
 
boolean waitBeforeExecution () throws InterruptedException
 Provides an opportunity to pause before executing the protocol.
 
abstract void execute () throws IOException
 

Detailed Description

Supertype for all asynchronously executing protocols, handling reception of UPnP messages.

Parameters
<M>The type of UPnP message handled by this protocol.
Author
Christian Bauer

Member Function Documentation

◆ waitBeforeExecution()

boolean de.yaacc.upnp.protocol.ReceivingAsync< M extends UpnpMessage >.waitBeforeExecution ( ) throws InterruptedException
protected

Provides an opportunity to pause before executing the protocol.

Returns
true (default) if execution should continue after waiting.
Exceptions
InterruptedExceptionIf waiting has been interrupted, which also stops execution.

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