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