org.teleal.cling.protocol.sync
Class SendingAction
java.lang.Object
org.teleal.cling.protocol.SendingAsync
org.teleal.cling.protocol.SendingSync<OutgoingActionRequestMessage,IncomingActionResponseMessage>
org.teleal.cling.protocol.sync.SendingAction
- All Implemented Interfaces:
- java.lang.Runnable
public class SendingAction
- extends SendingSync<OutgoingActionRequestMessage,IncomingActionResponseMessage>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static java.util.logging.Logger log
actionInvocation
protected final ActionInvocation actionInvocation
SendingAction
public SendingAction(UpnpService upnpService,
ActionInvocation actionInvocation,
java.net.URL controlURL)
executeSync
protected IncomingActionResponseMessage executeSync()
- Specified by:
executeSync
in class SendingSync<OutgoingActionRequestMessage,IncomingActionResponseMessage>
invokeRemote
protected IncomingActionResponseMessage invokeRemote(OutgoingActionRequestMessage requestMessage)
isFailedTryAgain
protected boolean isFailedTryAgain(IncomingActionResponseMessage responseMessage,
OutgoingActionRequestMessage requestMessage)
throws ActionException
- Throws:
ActionException
sendRemoteRequest
protected StreamResponseMessage sendRemoteRequest(OutgoingActionRequestMessage requestMessage)
throws ActionException
- Throws:
ActionException
handleResponse
protected void handleResponse(IncomingActionResponseMessage responseMsg)
throws ActionException
- Throws:
ActionException
handleResponseFailure
protected void handleResponseFailure(IncomingActionResponseMessage responseMsg)
throws ActionException
- Throws:
ActionException
tryAgain
protected IncomingActionResponseMessage tryAgain(OutgoingActionRequestMessage originalRequestMessage)
throws ActionException
- Throws:
ActionException
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.