/// <summary>Mark this as an outgoing command, and assign it to be sent on <paramref name="theNVT"/></summary> internal TelnetCommand OutgoingOn(TelnetNVT theNVT) { direction = CommandFlow.Outgoing; terminal = theNVT; return(this); }
/// <summary>Mark this as a command incoming on <paramref name="theNVT"/>, and parse its contents</summary> internal TelnetCommand IncomingOn(TelnetNVT theNVT) { direction = CommandFlow.Incoming; terminal = theNVT; Parse(); #if TelnetCommandLogging Debug.WriteLine("IN: " + humanReadableForm()); #endif return(this); }