class ControlSocket

Defined at line 29 of file ../../src/starnix/tests/psi/src/puppet.cc

Control socket between the puppet program running within Starnix (that is, us) and its Rust

controller (puppet.rs).

The protocol consists of semicolon-terminated messages, each consisting of

hex-encoded parts separated by commas. For instance:

"48454c4c4f,574f524c44;"

<

=> [ "HELLO", "WORLD" ]

Public Methods

void ControlSocket (int fd)

Defined at line 31 of file ../../src/starnix/tests/psi/src/puppet.cc

void ~ControlSocket ()

Defined at line 37 of file ../../src/starnix/tests/psi/src/puppet.cc

void ControlSocket (const ControlSocket & )

Defined at line 39 of file ../../src/starnix/tests/psi/src/puppet.cc

void ControlSocket (ControlSocket && )

Defined at line 39 of file ../../src/starnix/tests/psi/src/puppet.cc

ControlSocket & operator= (const ControlSocket & )

Defined at line 39 of file ../../src/starnix/tests/psi/src/puppet.cc

ControlSocket & operator= (ControlSocket && )

Defined at line 39 of file ../../src/starnix/tests/psi/src/puppet.cc

std::vector<std::string> ReadMessage ()

Defined at line 41 of file ../../src/starnix/tests/psi/src/puppet.cc

void WriteMessage (const std::vector<std::string> & parts)

Defined at line 68 of file ../../src/starnix/tests/psi/src/puppet.cc