org.teleal.cling.protocol.async
Class ReceivingSearch
java.lang.Object
org.teleal.cling.protocol.ReceivingAsync<IncomingSearchRequest>
org.teleal.cling.protocol.async.ReceivingSearch
- All Implemented Interfaces:
- Runnable
public class ReceivingSearch
- extends ReceivingAsync<IncomingSearchRequest>
randomGenerator
protected final Random randomGenerator
localStreamPort
protected final int localStreamPort
ReceivingSearch
public ReceivingSearch(UpnpService upnpService,
IncomingDatagramMessage<UpnpRequest> inputMessage)
execute
protected void execute()
- Specified by:
execute
in class ReceivingAsync<IncomingSearchRequest>
waitBeforeExecution
protected boolean waitBeforeExecution()
throws InterruptedException
- Overrides:
waitBeforeExecution
in class ReceivingAsync<IncomingSearchRequest>
- Throws:
InterruptedException
sendResponses
protected void sendResponses(UpnpHeader searchTarget)
sendSearchResponseAll
protected void sendSearchResponseAll()
createDeviceMessages
protected List<OutgoingSearchResponse> createDeviceMessages(LocalDevice device)
createServiceTypeMessages
protected List<OutgoingSearchResponse> createServiceTypeMessages(LocalDevice device)
sendSearchResponseRootDevices
protected void sendSearchResponseRootDevices()
sendSearchResponseUDN
protected void sendSearchResponseUDN(UDN udn)
sendSearchResponseDeviceType
protected void sendSearchResponseDeviceType(DeviceType deviceType)
sendSearchResponseServiceType
protected void sendSearchResponseServiceType(ServiceType serviceType)
getLocalHardwareAddress
protected byte[] getLocalHardwareAddress()
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.