示例#1
0
文件: Service.cpp 项目: broonie/ohNet
void PropertyString::Process(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    AutoMutex a(iEnv.Mutex());
    Brhz old;
    iValue.TransferTo(old);
    aProcessor.ProcessString(aBuffer, iValue);
    if (iSequenceNumber == 0 || old != iValue) {
        iChanged = true;
        iSequenceNumber++;
    }
}
示例#2
0
void ArgumentString::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    aProcessor.ProcessString(aBuffer, iValue);
    iParameter.ValidateString(iValue);
}