Added subscription to handler list so subscription can be accessed from handler.

This commit is contained in:
Brad Arant committed 2023-06-09 20:16:04 -07:00
1 parent cfa70c5863
commit 0ef782a11c
12 files changed
+55 -57

No files matched your search

+2 -5
View File
@@ -11,7 +11,7 @@ namespace core
{
uuid_t uuidObject;
uuid_generate(uuidObject);
std::string aaUuid = {uuidObject, uuidObject + 16};
// std::string aaUuid = {uuidObject, uuidObject + 16};
coreutils::Log(coreutils::LOG_DEBUG_1) << uuidObject;
alias = (void *)uuidObject;
}
@@ -46,11 +46,8 @@ namespace core
out << alias;
}
void TCPSession::onRegistered()
{
void TCPSession::onRegistered() {
onConnected();
// coreutils::ZString blank("");
// protocol(blank);
send();
if (term)
shutdown("termination requested");