示例#1
0
        public Agent.OutgoingFlowState getFlowState()
        {
            Agent.OutgoingFlowState state = new Agent.OutgoingFlowState();
            lock(this)
            {
                state.currentLevel = currentLevel;
                state.highWaterMark = highMark;
                state.lowWaterMark = lowMark;
            }

            return state;
        }
示例#2
0
        public Agent.OutgoingFlowState getFlowState()
        {
            Agent.OutgoingFlowState state = new Agent.OutgoingFlowState();
            lock (this)
            {
                state.currentLevel  = currentLevel;
                state.highWaterMark = highMark;
                state.lowWaterMark  = lowMark;
            }

            return(state);
        }