Klasse SendingSearch

java.lang.Object
org.jupnp.protocol.SendingAsync
org.jupnp.protocol.async.SendingSearch
Alle implementierten Schnittstellen:
Runnable

public class SendingSearch extends SendingAsync
Sending search request messages using the supplied search type.

Sends all search messages 5 times, waits 0 to 500 milliseconds between each sending procedure.

Autor:
Christian Bauer
  • Konstruktordetails

    • SendingSearch

      public SendingSearch(UpnpService upnpService)
      Defaults to STAllHeader and an MX of 3 seconds.
    • SendingSearch

      public SendingSearch(UpnpService upnpService, UpnpHeader searchTarget)
      Defaults to an MX value of 3 seconds.
    • SendingSearch

      public SendingSearch(UpnpService upnpService, UpnpHeader searchTarget, int mxSeconds)
      Parameter:
      mxSeconds - The time in seconds a host should wait before responding.
  • Methodendetails

    • getSearchTarget

      public UpnpHeader getSearchTarget()
    • getMxSeconds

      public int getMxSeconds()
    • execute

      protected void execute() throws RouterException
      Angegeben von:
      execute in Klasse SendingAsync
      Löst aus:
      RouterException
    • getBulkRepeat

      public int getBulkRepeat()
    • getBulkIntervalMilliseconds

      public int getBulkIntervalMilliseconds()
    • prepareOutgoingSearchRequest

      protected void prepareOutgoingSearchRequest(OutgoingSearchRequest message)
      Override this to edit the outgoing message, e.g. by adding headers.