public class SendingAction extends SendingSync<OutgoingActionRequestMessage,IncomingActionResponseMessage>
ActionInvocation.
Writes the outgoing message's body with the SOAPActionProcessor.
This protocol will return null if no response was received from the control target host.
In all other cases, even if only the processing of message content failed, this protocol will
return an IncomingActionResponseMessage. Any error
details of a failed response (UpnpResponse.isFailed()) are
available with
ActionInvocation.setFailure(org.jupnp.model.action.ActionException).
| Modifier and Type | Field and Description |
|---|---|
protected ActionInvocation |
actionInvocation |
outputMessage| Constructor and Description |
|---|
SendingAction(UpnpService upnpService,
ActionInvocation actionInvocation,
URL controlURL) |
| Modifier and Type | Method and Description |
|---|---|
protected IncomingActionResponseMessage |
executeSync() |
protected void |
handleResponse(IncomingActionResponseMessage responseMsg) |
protected void |
handleResponseFailure(IncomingActionResponseMessage responseMsg) |
protected IncomingActionResponseMessage |
invokeRemote(OutgoingActionRequestMessage requestMessage) |
protected StreamResponseMessage |
sendRemoteRequest(OutgoingActionRequestMessage requestMessage) |
execute, getInputMessage, getOutputMessage, toStringgetUpnpService, runprotected final ActionInvocation actionInvocation
public SendingAction(UpnpService upnpService, ActionInvocation actionInvocation, URL controlURL)
protected IncomingActionResponseMessage executeSync() throws RouterException
executeSync in class SendingSync<OutgoingActionRequestMessage,IncomingActionResponseMessage>RouterExceptionprotected IncomingActionResponseMessage invokeRemote(OutgoingActionRequestMessage requestMessage) throws RouterException
RouterExceptionprotected StreamResponseMessage sendRemoteRequest(OutgoingActionRequestMessage requestMessage) throws ActionException, RouterException
ActionExceptionRouterExceptionprotected void handleResponse(IncomingActionResponseMessage responseMsg) throws ActionException
ActionExceptionprotected void handleResponseFailure(IncomingActionResponseMessage responseMsg) throws ActionException
ActionExceptionCopyright © 2023 jUPnP.org. All rights reserved.