MCPcopy Create free account
hub / github.com/LUX-Core/lux / connected_cb

Method connected_cb

src/luxcontrol.cpp:665–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665void LuxController::connected_cb(LuxControlConnection& _conn)
666{
667 reconnect_timeout = RECONNECT_TIMEOUT_START;
668 // First send a PROTOCOLINFO command to figure out what authentication is expected
669 if (!_conn.Command("PROTOCOLINFO 1", boost::bind(&LuxController::protocolinfo_cb, this, _1, _2)))
670 LogPrintf("lux: Error sending initial protocolinfo command\n");
671}
672
673void LuxController::disconnected_cb(LuxControlConnection& _conn)
674{

Callers

nothing calls this directly

Calls 1

CommandMethod · 0.80

Tested by

no test coverage detected