public class NoBandChannelHelper.NoBandChannelCollection extends ChannelHelper.ChannelCollection
Constructor and Description |
---|
NoBandChannelCollection() |
Modifier and Type | Method and Description |
---|---|
void |
addBand(int band)
Add all channels in the band to the collection
|
void |
addChannel(int frequency)
Add a channel to the collection
|
void |
clear()
Remove all channels from the collection
|
boolean |
containsBand(int band) |
boolean |
containsChannel(int channel) |
void |
fillBucketSettings(WifiNative.BucketSettings bucketSettings,
int maxChannels)
Store the channels in this collection in the supplied BucketSettings.
|
Set<Integer> |
getChannelSet()
Gets a list of channels specified in the current channel collection.
|
Set<Integer> |
getContainingChannelsFromBand(int band)
Retrieves a list of channels from the band which are contained in the channel collection.
|
Set<Integer> |
getMissingChannelsFromBand(int band)
Retrieves a list of channels from the band which are missing in the channel collection.
|
Set<Integer> |
getSupplicantScanFreqs()
Gets the list of channels that should be supplied to supplicant for a scan.
|
boolean |
isAllChannels() |
boolean |
isEmpty() |
boolean |
partiallyContainsBand(int band) |
addChannels, addChannels, containsSettings, getContainingChannelsFromSettings, getMissingChannelsFromSettings, partiallyContainsSettings
public void addChannel(int frequency)
ChannelHelper.ChannelCollection
addChannel
in class ChannelHelper.ChannelCollection
public void addBand(int band)
ChannelHelper.ChannelCollection
addBand
in class ChannelHelper.ChannelCollection
public boolean containsChannel(int channel)
containsChannel
in class ChannelHelper.ChannelCollection
public boolean containsBand(int band)
containsBand
in class ChannelHelper.ChannelCollection
public boolean partiallyContainsBand(int band)
partiallyContainsBand
in class ChannelHelper.ChannelCollection
public boolean isEmpty()
isEmpty
in class ChannelHelper.ChannelCollection
public boolean isAllChannels()
isAllChannels
in class ChannelHelper.ChannelCollection
public void clear()
ChannelHelper.ChannelCollection
clear
in class ChannelHelper.ChannelCollection
public Set<Integer> getMissingChannelsFromBand(int band)
ChannelHelper.ChannelCollection
getMissingChannelsFromBand
in class ChannelHelper.ChannelCollection
public Set<Integer> getContainingChannelsFromBand(int band)
ChannelHelper.ChannelCollection
getContainingChannelsFromBand
in class ChannelHelper.ChannelCollection
public Set<Integer> getChannelSet()
ChannelHelper.ChannelCollection
getChannelSet
in class ChannelHelper.ChannelCollection
public void fillBucketSettings(WifiNative.BucketSettings bucketSettings, int maxChannels)
ChannelHelper.ChannelCollection
fillBucketSettings
in class ChannelHelper.ChannelCollection
public Set<Integer> getSupplicantScanFreqs()
ChannelHelper.ChannelCollection
getSupplicantScanFreqs
in class ChannelHelper.ChannelCollection