@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(java.util.Collection<BandwidthProfile> bwProfiles)
Adds new bandwidth profiles on the device.
|
java.util.Collection<BandwidthProfile> |
getAllBandwidthProfiles()
Obtains all already configured bandwidth profiles from the device.
|
BandwidthProfile |
getBandwidthProfile(java.lang.String profileName)
Obtains an already configured bandwidth profile from the device.
|
boolean |
removeAllBandwidthProfiles()
Removes all existing bandwidth profiles from a device.
|
boolean |
removeBandwidthProfile(java.util.Collection<java.lang.String> profileNames)
Removes existing bandwidth profiles from a device.
|
default boolean |
removeBandwidthProfile(java.lang.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(java.util.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(java.util.Collection<BandwidthProfile> bwProfiles)
bwProfiles
- the bandwidth profiles to adddefault boolean removeBandwidthProfile(java.lang.String profileName)
profileName
- the name of the profile to remove from the deviceboolean removeBandwidthProfile(java.util.Collection<java.lang.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(java.util.Collection<BandwidthProfile> bwProfiles)
bwProfiles
- the updated bandwidth profileBandwidthProfile getBandwidthProfile(java.lang.String profileName) throws java.io.IOException
profileName
- the name of the profile to obtain from the devicejava.io.IOException
- if profile could not be obtained due to
communication issues with the devicejava.util.Collection<BandwidthProfile> getAllBandwidthProfiles() throws java.io.IOException
java.io.IOException
- if profiles could not be obtained due to
communication issues with the device