コード例 #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
ファイル: CpiService.cpp プロジェクト: Montellese/ohNet
void ArgumentString::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    aProcessor.ProcessString(aBuffer, iValue);
    iParameter.ValidateString(iValue);
}