Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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>

Field Summary
`protected int` | `localStreamPort`
`protected Random` | `randomGenerator`

Constructor Summary
`ReceivingSearch(UpnpService upnpService, IncomingDatagramMessage<UpnpRequest> inputMessage)`

Method Summary
`protected List<OutgoingSearchResponse>` | `createDeviceMessages(LocalDevice device)`
`protected List<OutgoingSearchResponse>` | `createServiceTypeMessages(LocalDevice device)`
`protected void` | `execute()`
`protected void` | `sendResponses(UpnpHeader searchTarget)`
`protected void` | `sendSearchResponseAll()`
`protected void` | `sendSearchResponseDeviceType(DeviceType deviceType)`
`protected void` | `sendSearchResponseRootDevices()`
`protected void` | `sendSearchResponseServiceType(ServiceType serviceType)`
`protected void` | `sendSearchResponseUDN(UDN udn)`
`protected boolean` | `waitBeforeExecution()`

Methods inherited from class org.teleal.cling.protocol.ReceivingAsync
`getFirstHeader, getInputMessage, getUpnpService, run, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### randomGenerator

    protected final Random randomGenerator

### localStreamPort

    protected final int localStreamPort

Constructor Detail

### ReceivingSearch

    public ReceivingSearch(UpnpService upnpService,
                           IncomingDatagramMessage<UpnpRequest> inputMessage)

Method Detail

### 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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