org.teleal.cling.protocol
Class ReceivingSync<IN extends StreamRequestMessage,OUT extends StreamResponseMessage>

java.lang.Object
  extended by org.teleal.cling.protocol.ReceivingAsync<IN>
      extended by org.teleal.cling.protocol.ReceivingSync<IN,OUT>
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
ReceivingAction, ReceivingEvent, ReceivingRetrieval, ReceivingSubscribe, ReceivingUnsubscribe

public abstract class ReceivingSync<IN extends StreamRequestMessage,OUT extends StreamResponseMessage>
extends ReceivingAsync<IN>


Field Summary
protected  OUT outputMessage
           
 
Constructor Summary
protected ReceivingSync(UpnpService upnpService, IN inputMessage)
           
 
Method Summary
protected  void execute()
           
protected abstract  OUT executeSync()
           
 OUT getOutputMessage()
           
 void responseException(Throwable t)
           
 void responseSent(StreamResponseMessage responseMessage)
           
 String toString()
           
 
Methods inherited from class org.teleal.cling.protocol.ReceivingAsync
getFirstHeader, getInputMessage, getUpnpService, run, waitBeforeExecution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

outputMessage

protected OUT extends StreamResponseMessage outputMessage
Constructor Detail

ReceivingSync

protected ReceivingSync(UpnpService upnpService,
                        IN inputMessage)
Method Detail

getOutputMessage

public OUT getOutputMessage()

execute

protected final void execute()
Specified by:
execute in class ReceivingAsync<IN extends StreamRequestMessage>

executeSync

protected abstract OUT executeSync()

responseSent

public void responseSent(StreamResponseMessage responseMessage)

responseException

public void responseException(Throwable t)

toString

public String toString()
Overrides:
toString in class ReceivingAsync<IN extends StreamRequestMessage>


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.