public abstract class SendingAsync extends Object implements Runnable
After instantiation by the ProtocolFactory
, this protocol run()
s and
calls its execute()
method.
A RouterException
during execution will be wrapped in a fatal RuntimeException
,
unless its cause is an InterruptedException
, in which case an INFO message will be logged.
Modifier | Constructor and Description |
---|---|
protected |
SendingAsync(UpnpService upnpService) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
execute() |
UpnpService |
getUpnpService() |
void |
run() |
String |
toString() |
protected SendingAsync(UpnpService upnpService)
public UpnpService getUpnpService()
protected abstract void execute() throws RouterException
RouterException
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.