internal virtual void SetState(ITransferState newState) { lock (this) { State = DecorateForLogging(newState); State.Context = this; State.OnStateEnter(); } }
public void OnStateEnter() { TftpTrace.Trace(GetStateName() + " OnStateEnter", transfer); decoratee.OnStateEnter(); }