|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fourthline.cling.protocol.SendingAsync
org.fourthline.cling.protocol.async.SendingSearch
public class SendingSearch
Sending search request messages using the supplied search type.
Sends all search messages 5 times, waits 0 to 500 milliseconds between each sending procedure.
| Constructor Summary | |
|---|---|
SendingSearch(UpnpService upnpService)
Defaults to STAllHeader and 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)
|
|
| Method Summary | |
|---|---|
protected void |
execute()
|
int |
getBulkIntervalMilliseconds()
|
int |
getBulkRepeat()
|
int |
getMxSeconds()
|
UpnpHeader |
getSearchTarget()
|
protected void |
prepareOutgoingSearchRequest(OutgoingSearchRequest message)
Override this to edit the outgoing message, e.g. |
| Methods inherited from class org.fourthline.cling.protocol.SendingAsync |
|---|
getUpnpService, run, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SendingSearch(UpnpService upnpService)
STAllHeader and an MX of 3 seconds.
public SendingSearch(UpnpService upnpService,
UpnpHeader searchTarget)
public SendingSearch(UpnpService upnpService,
UpnpHeader searchTarget,
int mxSeconds)
mxSeconds - The time in seconds a host should wait before responding.| Method Detail |
|---|
public UpnpHeader getSearchTarget()
public int getMxSeconds()
protected void execute()
execute in class SendingAsyncpublic int getBulkRepeat()
public int getBulkIntervalMilliseconds()
protected void prepareOutgoingSearchRequest(OutgoingSearchRequest message)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||