ControllerConnection

Properties

  • socket (roStreamSocket)
  • mode (string)
  • wsBuffer (roByteArray)
  • httpBuffer (roByteArray) — Accumulates raw bytes across possibly-multiple recv()/poll() calls
  • staleReadPolls (integer) — Consecutive poll() cycles where isReadable() reported true but
  • pendingSend (roByteArray) — Bytes still waiting to be flushed to the socket - see
  • pendingSendOffset (integer) — How far into pendingSend the previous partial send(s) already got.
  • pendingSendAction (string) — What to do once pendingSend fully flushes - "" (nothing further),

Constructor

new ControllerConnection(): ControllerConnection