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, runprotected 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 SendingAsyncRouterExceptionprotected abstract OUT executeSync() throws RouterException
RouterExceptionpublic String toString()
toString in class SendingAsyncCopyright © 2023 jUPnP.org. All rights reserved.