| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Protocols
Protocols.TELNET
Protocols.TELNET.protocol

# Class Protocols.TELNET.protocol

Description

  Implementation of the TELNET protocol.

Variable fd

  `protected object Protocols.TELNET.protocol.fd`

Description

  The connection.

Variable cb

  `protected mapping Protocols.TELNET.protocol.cb`

Description

  Mapping containing extra callbacks.

Variable id

  `protected mixed Protocols.TELNET.protocol.id`

Description

  Value to send to the callbacks.

Variable write_cb

  `protected function(mixed|void:string) Protocols.TELNET.protocol.write_cb`

Description

  Write callback.

Variable read_cb

  `protected function(mixed:void) Protocols.TELNET.protocol.read_cb`

Description

  Read callback.

Variable close_cb

  `protected function(mixed|void:void) Protocols.TELNET.protocol.close_cb`

Description

  Close callback.

  `protected array(int) Protocols.TELNET.protocol.remote_options`
  `protected array(int) Protocols.TELNET.protocol.local_options`

Description

  Negotiation states of all WILL/WON'T options. See RFC 1143 for a description of the states.

Variable to_send

  `protected string Protocols.TELNET.protocol.to_send`

Description

  Data queued to be sent.

Variable done

  `protected int Protocols.TELNET.protocol.done`

Description

  Indicates that connection should be closed

Variable nonblocking_write

  `protected int Protocols.TELNET.protocol.nonblocking_write`

Description

  Tells if we have set the nonblocking write callback or not.

Variable synch

  `protected int Protocols.TELNET.protocol.synch`

Description

  Indicates whether we are in synch-mode or not.