de.unikassel.android.sdcframework.preferences.facade
Interface TransmissionConfiguration

Package class diagram package TransmissionConfiguration
All Superinterfaces:
Configuration, UpdatableConfiguration<TransmissionConfiguration>
All Known Implementing Classes:
TransmissionConfigurationImpl

public interface TransmissionConfiguration
extends UpdatableConfiguration<TransmissionConfiguration>

The configuration for the transmission module.


Method Summary
 ArchiveTypes getArchiveType()
          Getter for the archive type
 int getMaxSampleTransferCount()
          Getter for the maximum count of samples to transfer
 int getMinSampleTransferCount()
          Getter for the minimum count of samples to transfer
 long getMinTransferFrequency()
          Getter for the minimum transfer frequency
 TransmissionProtocolConfiguration getProtocolConfiguration()
          Getter for the protocol configuration to set
 Boolean isEncryptionEnabled()
          Getter for the encryption enabled flag
 void setArchiveType(ArchiveTypes archiveType)
          Setter for the archive type
 void setEncryptionEnabled(Boolean isEncryptionEnabled)
          Setter for the encryption enabled flag
 void setMaxSampleTransferCount(Integer maxSampleTransferCount)
          Setter for the maximum count of samples to transfer
 void setMinSampleTransferCount(Integer minSampleTransferCount)
          Setter for the minimum count of samples to transfer
 void setMinTransferFrequency(Long minTransferFrequency)
          Setter for the minimum transfer frequency
 void setProtocolConfiguration(TransmissionProtocolConfiguration protocolConfig)
          Setter for the protocol configuration to set
 void update(TransmissionConfigurationEntry config)
          Does update this configuration by a serializable configuration
 
Methods inherited from interface de.unikassel.android.sdcframework.preferences.facade.UpdatableConfiguration
update
 

Method Detail

update

void update(TransmissionConfigurationEntry config)
Does update this configuration by a serializable configuration

Parameters:
config - the serializable configuration to update from

getMinSampleTransferCount

int getMinSampleTransferCount()
Getter for the minimum count of samples to transfer

Returns:
the minimum count of samples to transfer

setMinSampleTransferCount

void setMinSampleTransferCount(Integer minSampleTransferCount)
Setter for the minimum count of samples to transfer

Parameters:
minSampleTransferCount - the minimum count of samples to set

getMaxSampleTransferCount

int getMaxSampleTransferCount()
Getter for the maximum count of samples to transfer

Returns:
the maximum count of samples to transfer

setMaxSampleTransferCount

void setMaxSampleTransferCount(Integer maxSampleTransferCount)
Setter for the maximum count of samples to transfer

Parameters:
maxSampleTransferCount - the maximum count of samples to transfer to set

getMinTransferFrequency

long getMinTransferFrequency()
Getter for the minimum transfer frequency

Returns:
the minimum transfer frequency in seconds

setMinTransferFrequency

void setMinTransferFrequency(Long minTransferFrequency)
Setter for the minimum transfer frequency

Parameters:
minTransferFrequency - the minimum transfer frequency in seconds to set

getProtocolConfiguration

TransmissionProtocolConfiguration getProtocolConfiguration()
Getter for the protocol configuration to set

Returns:
the protocol configuration to set

setProtocolConfiguration

void setProtocolConfiguration(TransmissionProtocolConfiguration protocolConfig)
Setter for the protocol configuration to set

Parameters:
protocolConfig - the protocol configuration to set

getArchiveType

ArchiveTypes getArchiveType()
Getter for the archive type

Returns:
the archive type

setArchiveType

void setArchiveType(ArchiveTypes archiveType)
Setter for the archive type

Parameters:
archiveType - the archive type to set

isEncryptionEnabled

Boolean isEncryptionEnabled()
Getter for the encryption enabled flag

Returns:
true if encryption is enabled

setEncryptionEnabled

void setEncryptionEnabled(Boolean isEncryptionEnabled)
Setter for the encryption enabled flag

Parameters:
isEncryptionEnabled - the encryption enabled flag to set