org.teleal.cling.protocol
Class ReceivingAsync<M extends UpnpMessage>
java.lang.Object
org.teleal.cling.protocol.ReceivingAsync<M>
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- ReceivingNotification, ReceivingSearch, ReceivingSearchResponse, ReceivingSync
public abstract class ReceivingAsync<M extends UpnpMessage>
- extends Object
- implements Runnable
ReceivingAsync
protected ReceivingAsync(UpnpService upnpService,
M inputMessage)
getUpnpService
public UpnpService getUpnpService()
getInputMessage
public M getInputMessage()
run
public void run()
- Specified by:
run
in interface Runnable
waitBeforeExecution
protected boolean waitBeforeExecution()
throws InterruptedException
- Throws:
InterruptedException
execute
protected abstract void execute()
getFirstHeader
protected <H extends UpnpHeader> H getFirstHeader(UpnpHeader.Type headerType,
Class<H> subtype)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.