38 Client::AsyncReceiver::AsyncReceiver(
Client &client)
43 Client::AsyncReceiver::~AsyncReceiver()
47 void Client::AsyncReceiver::__cancellation()
throw ()
52 void Client::AsyncReceiver::run()
throw ()
81 }
catch (
const std::exception &ex) {
88 : StreamConnection(*this, stream), lastack(0), _stream(stream), _mode(mode), _app(app), _group(group), _receiver(*this)
93 : StreamConnection(*this, stream), lastack(0), _stream(stream), _mode(mode), _app(app), _group(), _receiver(*this)
117 if (_app.length() > 0) localeid =
EID(
"api:" + _app);
130 std::getline(_stream, buffer);
136 _stream <<
"registration add " << _group.
getString() << std::endl;
139 std::getline(_stream, buffer);
143 _stream <<
"protocol tcpcl" << std::endl;
159 shutdown(StreamConnection::CONNECTION_SHUTDOWN_SIMPLE_SHUTDOWN);
167 shutdown(StreamConnection::CONNECTION_SHUTDOWN_ERROR);
212 return _inqueue.getnpop(
true, timeout * 1000);
224 }
catch (
const std::exception &ex) {