YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
de.yaacc.upnp.protocol.async.SendingSearch Class Reference

Sending search request messages using the supplied search type. More...

Inheritance diagram for de.yaacc.upnp.protocol.async.SendingSearch:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.protocol.async.SendingSearch:
Collaboration graph

Public Member Functions

 SendingSearch (UdpTransiver udpTransiver)
 Defaults to STAllHeader and an MX of 3 seconds.
 
 SendingSearch (UdpTransiver udpTransiver, UpnpHeader searchTarget)
 Defaults to an MX value of 3 seconds.
 
 SendingSearch (UdpTransiver udpTransiver, UpnpHeader searchTarget, int mxSeconds)
 
UpnpHeader getSearchTarget ()
 
int getMxSeconds ()
 
int getBulkRepeat ()
 
int getBulkIntervalMilliseconds ()
 
- Public Member Functions inherited from de.yaacc.upnp.protocol.SendingAsync
void run ()
 
String toString ()
 

Protected Member Functions

void execute () throws IOException
 
void prepareOutgoingSearchRequest (OutgoingSearchRequest message)
 Override this to edit the outgoing message, e.g.
 

Detailed Description

Sending search request messages using the supplied search type.

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

Author
Christian Bauer

Constructor & Destructor Documentation

◆ SendingSearch()

de.yaacc.upnp.protocol.async.SendingSearch.SendingSearch ( UdpTransiver  udpTransiver,
UpnpHeader  searchTarget,
int  mxSeconds 
)
Parameters
mxSecondsThe time in seconds a host should wait before responding.

Member Function Documentation

◆ execute()

void de.yaacc.upnp.protocol.async.SendingSearch.execute ( ) throws IOException
protected

◆ prepareOutgoingSearchRequest()

void de.yaacc.upnp.protocol.async.SendingSearch.prepareOutgoingSearchRequest ( OutgoingSearchRequest  message)
protected

Override this to edit the outgoing message, e.g.

by adding headers.


The documentation for this class was generated from the following file: