public class UpdateChannelConfiguration extends Object
Constructor and Description |
---|
UpdateChannelConfiguration()
The constructor for the UpdateChannelConfiguration wrapper.
|
UpdateChannelConfiguration(byte[] configAsBytes)
constructs a UpdateChannelConfiguration object
|
UpdateChannelConfiguration(File configFile)
constructs a UpdateChannelConfiguration object with the actual configuration gotten from the file system
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getUpdateChannelConfigurationAsBytes() |
void |
setUpdateChannelConfiguration(byte[] updateChannelConfigurationAsBytes)
sets the UpdateChannelConfiguration from a byte array
|
public UpdateChannelConfiguration()
Channel#updateChannelConfiguration(UpdateChannelConfiguration, byte[]...)
method to
populate the update channel configurationpublic UpdateChannelConfiguration(File configFile) throws IOException, InvalidArgumentException
configFile
- The file containing the channel configuration.IOException
InvalidArgumentException
public UpdateChannelConfiguration(byte[] configAsBytes) throws InvalidArgumentException
configAsBytes
- the byte array containing the serialized channel configurationInvalidArgumentException
public void setUpdateChannelConfiguration(byte[] updateChannelConfigurationAsBytes) throws InvalidArgumentException
updateChannelConfigurationAsBytes
- the byte array containing the serialized channel configurationInvalidArgumentException
public byte[] getUpdateChannelConfigurationAsBytes()
Copyright © 2022. All rights reserved.