@Beta public interface BandwidthProfileConfigBehaviour extends HandlerBehaviour
Modifier and Type | Method and Description |
---|---|
default boolean |
addBandwidthProfile(BandwidthProfile bwProfile)
Adds a new bandwidth profile on the device.
|
boolean |
addBandwidthProfile(Collection<BandwidthProfile> bwProfiles)
Adds new bandwidth profiles on the device.
|
Collection<BandwidthProfile> |
getAllBandwidthProfiles()
Obtains all already configured bandwidth profiles from the device.
|
BandwidthProfile |
getBandwidthProfile(String profileName)
Obtains an already configured bandwidth profile from the device.
|
boolean |
removeAllBandwidthProfiles()
Removes all existing bandwidth profiles from a device.
|
boolean |
removeBandwidthProfile(Collection<String> profileNames)
Removes existing bandwidth profiles from a device.
|
default boolean |
removeBandwidthProfile(String profileName)
Removes an existing bandwidth profile from a device.
|
default boolean |
updateBandwidthProfile(BandwidthProfile bwProfile)
Updates an already configured bandwidth profile on the device.
|
boolean |
updateBandwidthProfile(Collection<BandwidthProfile> bwProfiles)
Updates already configured bandwidth profiles on the device.
|
handler, setHandler
default boolean addBandwidthProfile(BandwidthProfile bwProfile)
bwProfile
- the bandwidth profile to addboolean addBandwidthProfile(Collection<BandwidthProfile> bwProfiles)
bwProfiles
- the bandwidth profiles to adddefault boolean removeBandwidthProfile(String profileName)
profileName
- the name of the profile to remove from the deviceboolean removeBandwidthProfile(Collection<String> profileNames)
profileNames
- the names of the profiles to remove from the deviceboolean removeAllBandwidthProfiles()
default boolean updateBandwidthProfile(BandwidthProfile bwProfile)
bwProfile
- the updated bandwidth profileboolean updateBandwidthProfile(Collection<BandwidthProfile> bwProfiles)
bwProfiles
- the updated bandwidth profileBandwidthProfile getBandwidthProfile(String profileName) throws IOException
profileName
- the name of the profile to obtain from the deviceIOException
- if profile could not be obtained due to
communication issues with the deviceCollection<BandwidthProfile> getAllBandwidthProfiles() throws IOException
IOException
- if profiles could not be obtained due to
communication issues with the device