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