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