YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.protocol.sync.SendingAction Class Reference

Sending control message, transforming a local ActionInvocation. More...

Inheritance diagram for de.yaacc.upnp.protocol.sync.SendingAction:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.protocol.sync.SendingAction:
Collaboration graph

Public Member Functions

 SendingAction (HttpRequestSender httpRequestSender, ActionInvocation actionInvocation, URL controlURL)
 
- Public Member Functions inherited from de.yaacc.upnp.protocol.SendingSync< IN extends StreamRequestMessage, OUT extends StreamResponseMessage >
IN getInputMessage ()
 
OUT getOutputMessage ()
 
String toString ()
 
- Public Member Functions inherited from de.yaacc.upnp.protocol.SendingAsync
void run ()
 

Protected Member Functions

IncomingActionResponseMessage executeSync () throws IOException
 
IncomingActionResponseMessage invokeRemote (OutgoingActionRequestMessage requestMessage) throws IOException
 
StreamResponseMessage sendRemoteRequest (OutgoingActionRequestMessage requestMessage) throws ActionException, IOException
 
void handleResponse (IncomingActionResponseMessage responseMsg) throws ActionException
 
void handleResponseFailure (IncomingActionResponseMessage responseMsg) throws ActionException
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.SendingSync< IN extends StreamRequestMessage, OUT extends StreamResponseMessage >
 SendingSync (IN inputMessage)
 
final void execute () throws IOException
 
- Protected Member Functions inherited from de.yaacc.upnp.protocol.SendingAsync

Protected Attributes

final ActionInvocation actionInvocation
 
- Protected Attributes inherited from de.yaacc.upnp.protocol.SendingSync< IN extends StreamRequestMessage, OUT extends StreamResponseMessage >
OUT outputMessage
 

Detailed Description

Sending control message, transforming a local ActionInvocation.

Writes the outgoing message's body with the org.fourthline.cling.transport.spi.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(ActionException).

Author
Christian Bauer

Member Function Documentation

◆ executeSync()

IncomingActionResponseMessage de.yaacc.upnp.protocol.sync.SendingAction.executeSync ( ) throws IOException
protected

The documentation for this class was generated from the following file: