.NET Telnet Class Library

TelnetProtocolHandler Members

Public Instance Constructors

TelnetProtocolHandler Constructor Create a new telnet protocol handler.

Public Instance Properties

CR Gets or sets the data sent on pressing [LineFeed] \r
CRLF Gets or sets the data sent on pressing [RETURN] \n

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

terminalType The current terminal type for TTYPE telnet option.
windowSize The window size of the terminal for the NAWS telnet option.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
InputFeed Adds bytes to the input buffer we'll parse for codes.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
Negotiate Handle telnet protocol negotiation. The buffer will be parsed and necessary actions are taken according to the telnet protocol. RFC-Telnet
NotifyEndOfRecord Generate an EOR (end of record) request. For use by prompt displaying.
Reset Reset the protocol handler. This may be necessary after the connection was closed or some other problem occured.
SendTelnetControl Send a Telnet Escape character
SetLocalEcho Set the local echo option of telnet.
Transpose Transpose special telnet codes like 0xff or newlines to values that are compliant to the protocol. This method will also send the buffer immediately after transposing the data.
Write Send data to the remote host.

See Also

TelnetProtocolHandler Class | De.Mud.Telnet Namespace