+void ControlClient::send(const Command& command) {
+ try {
+ socket << command << flush;
+ } catch (const sockerr& e) {
+ error(e.serrno(), e.errstr());
+ finish();
+ }
+#ifdef DEBUG
+ cerr << __FILE__ << "(" << __LINE__ << ")"
+ << ": send() Enviado!" << endl;
+#endif // DEBUG
+}
+
+ControlClient::SignalConnected& ControlClient::signal_connected(void) {
+ return connected;
+}
+