edu.cmu.emulator
Class ConfigValidator
java.lang.Object
edu.cmu.emulator.ConfigValidator
- All Implemented Interfaces:
- CMessageListener
public class ConfigValidator
- extends Object
- implements CMessageListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dspHWConfig
protected DSPHardwareConfiguration dspHWConfig
dspConfig
protected DSPConfiguration dspConfig
commSender
protected CommSender commSender
commReceiver
protected CommReceiver commReceiver
mutex
protected Object mutex
configHash
protected byte[] configHash
receivedHash
protected byte[] receivedHash
bytesReceived
protected int bytesReceived
ConfigValidator
public ConfigValidator(DSPHardwareConfiguration dspHWConfig,
DSPConfiguration dspConfig)
generateChecksum
public byte[] generateChecksum()
validateChecksum
public void validateChecksum(CommSender commSender,
CommReceiver commReceiver)
messageReceived
public void messageReceived(CMessage msg)
- Specified by:
messageReceived
in interface CMessageListener
Copyright © 2013. All Rights Reserved.