Example #1
0
 public TelnetCodeHandler()
 {
     _state = new ConnectionTellnetStateText(this);
 }
 /// <summary>
 /// Allows our state classes to change the state being used
 /// </summary>
 /// <param name="newState">The state to change to</param>
 internal void ChangeState(ConnectionTelnetState newState)
 {
     _state = newState;
 }
Example #3
0
 /// <summary>
 /// Allows our state classes to change the state being used
 /// </summary>
 /// <param name="newState">The state to change to</param>
 internal void ChangeState(ConnectionTelnetState newState)
 {
     _state = newState;
 }
 public TelnetCodeHandler()
 {
     _state = new ConnectionTellnetStateText(this);
 }