respond to CreateChan

This commit is contained in:
Michael Davidsaver
2019-11-19 16:06:43 -08:00
parent e1b8923f33
commit 946e557960
8 changed files with 196 additions and 11 deletions
+25
View File
@@ -0,0 +1,25 @@
/**
* Copyright - See the COPYRIGHT that is included with this distribution.
* pvxs is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
*/
#include "serverconn.h"
namespace pvxsimpl {
ServerChan::ServerChan(ServerConn* conn,
uint32_t sid,
uint32_t cid,
const std::string &name,
std::unique_ptr<server::Handler> &&handler)
:conn(conn)
,sid(sid)
,cid(cid)
,name(name)
,handler(std::move(handler))
{}
ServerChan::~ServerChan() {}
} // namespace pvxsimpl