Common base class for a client class which holds a connection to a server and communicates using CRLF-terminated lines.
Class summary |
Methods inherited from util::Connectable |
connect(obj, meth, type) disconnect(l) fire(type, param) fire_event(e) |
Variables inherited from util::Connectable |
listeners |
Methods inherited from util::Error |
error(a) get_reason() |
Variables inherited from util::Error |
reason |
Methods defined in this class |
close() error_and_close(a) initially() open() read_line() read_str(len) recv(len) send(s) set_one(attr, val) set_port(n) set_server(s) set_timeout(timeout) write_line(s) write_str(s) |
Variables defined in this class |
connection port sbuff server timeout |
Method detail |
Variable detail |