Package org.jupnp.protocol.sync
Klasse SendingAction
java.lang.Object
org.jupnp.protocol.SendingAsync
org.jupnp.protocol.SendingSync<OutgoingActionRequestMessage,IncomingActionResponseMessage>
org.jupnp.protocol.sync.SendingAction
- Alle implementierten Schnittstellen:
Runnable
public class SendingAction
extends SendingSync<OutgoingActionRequestMessage,IncomingActionResponseMessage>
Sending control message, transforming a local
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).
- Autor:
- Christian Bauer
-
Feldübersicht
FelderVon Klasse geerbte Felder org.jupnp.protocol.SendingSync
outputMessage -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSendingAction(UpnpService upnpService, ActionInvocation actionInvocation, URL controlURL) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected IncomingActionResponseMessageprotected voidhandleResponse(IncomingActionResponseMessage responseMsg) protected voidhandleResponseFailure(IncomingActionResponseMessage responseMsg) protected IncomingActionResponseMessageinvokeRemote(OutgoingActionRequestMessage requestMessage) protected StreamResponseMessagesendRemoteRequest(OutgoingActionRequestMessage requestMessage) Von Klasse geerbte Methoden org.jupnp.protocol.SendingSync
execute, getInputMessage, getOutputMessage, toStringVon Klasse geerbte Methoden org.jupnp.protocol.SendingAsync
getUpnpService, run
-
Felddetails
-
actionInvocation
-
-
Konstruktordetails
-
SendingAction
-
-
Methodendetails
-
executeSync
- Angegeben von:
executeSyncin KlasseSendingSync<OutgoingActionRequestMessage,IncomingActionResponseMessage> - Löst aus:
RouterException
-
invokeRemote
protected IncomingActionResponseMessage invokeRemote(OutgoingActionRequestMessage requestMessage) throws RouterException - Löst aus:
RouterException
-
sendRemoteRequest
protected StreamResponseMessage sendRemoteRequest(OutgoingActionRequestMessage requestMessage) throws ActionException, RouterException - Löst aus:
ActionExceptionRouterException
-
handleResponse
- Löst aus:
ActionException
-
handleResponseFailure
protected void handleResponseFailure(IncomingActionResponseMessage responseMsg) throws ActionException - Löst aus:
ActionException
-