예제 #1
0
파일: Service.cpp 프로젝트: broonie/ohNet
void PropertyBinary::Process(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    AutoMutex a(iEnv.Mutex());
    Bwh old(iValue.Ptr(), iValue.Bytes());
    aProcessor.ProcessBinary(aBuffer, iValue);
    if (iSequenceNumber == 0 || old != iValue) {
        iChanged = true;
        iSequenceNumber++;
    }
}
예제 #2
0
void ArgumentBinary::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    aProcessor.ProcessBinary(aBuffer, iValue);
    iParameter.ValidateBinary(iValue);
}