Skip to content
This repository has been archived by the owner on Mar 8, 2018. It is now read-only.

rn.net.tcp.telnet.TelnetServer

r3d9u11 edited this page Jan 30, 2018 · 9 revisions

TelnetServer

Source

Properties

  • started : Bool
  • telnetWelcome : String

Events

  • onClientBeforeConnect (client:ITcpClient) : Void
  • onClientAfterConnect (clientGuid:String) : Void
  • onClientDisconnect (clientGuid:String) : Void
  • onClientAuthSucceed (client:TelnetClient) : Void
  • onClientAuthFailed (client:TelnetClient) : Void
  • onClientData (clientGuid:String, data:haxe.io.Bytes) : Void
  • onClientText (clientGuid:String, text:String) : Void

Service methods

  • clientCheckingProc (client:ITcpClient) : Bool
  • telnetAuthProc (login:String, password:String) : Bool

Initialization methods

  • new (?tcpListener:TcpSocket, ?inputBufferSize:Int)
  • start (host:sys.net.Host, port:Int, ?clientsAutochecking:Bool) : Bool
  • stop () : Void

Connection methods

  • disconnectAll () : Void
  • disconnect (clientGuid:String) : Void

Data sending methods

  • sendData (clientGuid:String, data:Bytes) : Bool
  • sendText (clientGuid:String, text:String) : Bool
  • sendTextLine (clientGuid:String, text:String) : Bool
Clone this wiki locally