IN
- The type of request UPnP message send by this protocol.OUT
- The type of response UPnP message expected by this protocol.public abstract class SendingSync<IN extends StreamRequestMessage,OUT extends StreamResponseMessage> extends SendingAsync
After instantiation by the ProtocolFactory
, this protocol run()
s and
calls its executeSync()
method.
Modifier and Type | Field and Description |
---|---|
protected OUT |
outputMessage |
Modifier | Constructor and Description |
---|---|
protected |
SendingSync(UpnpService upnpService,
IN inputMessage) |
Modifier and Type | Method and Description |
---|---|
protected void |
execute() |
protected abstract OUT |
executeSync() |
IN |
getInputMessage() |
OUT |
getOutputMessage() |
String |
toString() |
getUpnpService, run
protected OUT extends StreamResponseMessage outputMessage
protected SendingSync(UpnpService upnpService, IN inputMessage)
public IN getInputMessage()
public OUT getOutputMessage()
protected final void execute() throws RouterException
execute
in class SendingAsync
RouterException
protected abstract OUT executeSync() throws RouterException
RouterException
public String toString()
toString
in class SendingAsync
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.