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