Package org.jupnp.protocol.async
Klasse SendingSearch
java.lang.Object
org.jupnp.protocol.SendingAsync
org.jupnp.protocol.async.SendingSearch
- Alle implementierten Schnittstellen:
Runnable
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
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSendingSearch(UpnpService upnpService) Defaults toSTAllHeaderand an MX of 3 seconds.SendingSearch(UpnpService upnpService, UpnpHeader searchTarget) Defaults to an MX value of 3 seconds.SendingSearch(UpnpService upnpService, UpnpHeader searchTarget, int mxSeconds) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidexecute()intintintprotected voidOverride this to edit the outgoing message, e.g. by adding headers.Von Klasse geerbte Methoden org.jupnp.protocol.SendingAsync
getUpnpService, run, toString
-
Konstruktordetails
-
SendingSearch
Defaults toSTAllHeaderand an MX of 3 seconds. -
SendingSearch
Defaults to an MX value of 3 seconds. -
SendingSearch
- Parameter:
mxSeconds- The time in seconds a host should wait before responding.
-
-
Methodendetails
-
getSearchTarget
-
getMxSeconds
public int getMxSeconds() -
execute
- Angegeben von:
executein KlasseSendingAsync- Löst aus:
RouterException
-
getBulkRepeat
public int getBulkRepeat() -
getBulkIntervalMilliseconds
public int getBulkIntervalMilliseconds() -
prepareOutgoingSearchRequest
Override this to edit the outgoing message, e.g. by adding headers.
-