public class ChannelSearchManager
extends java.lang.Object
| Constructor and Description |
|---|
ChannelSearchManager(UdpBroadcastTransport udpBroadcastTransport)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
beaconAnomalyNotify()
Beacon anomaly detected.
|
void |
cancel()
Cancel.
|
boolean |
registerChannel(ChannelImpl<?> channel)
Register channel.
|
int |
registeredChannelCount()
Get number of registered channels.
|
void |
searchResponse(ChannelImpl<?> channel)
Search response received notification.
|
void |
unregisterChannel(ChannelImpl<?> channel)
Unregister channel.
|
public ChannelSearchManager(UdpBroadcastTransport udpBroadcastTransport)
udpBroadcastTransport - transportpublic boolean registerChannel(ChannelImpl<?> channel)
channel - the channel to register.public void unregisterChannel(ChannelImpl<?> channel)
channel - channel to unregisterpublic int registeredChannelCount()
public void beaconAnomalyNotify()
public void cancel()
public void searchResponse(ChannelImpl<?> channel)
channel - found channel.