Ejemplo n.º 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;
        }
Ejemplo n.º 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);
        }