其他分享
首页 > 其他分享> > TcpConnection的上下文

TcpConnection的上下文

作者:互联网

#20210917 TcpConnection的上下文

如有问题,欢迎交流!

上下文

void TcpConnection::setContext(const boost::any&  context)
{context_ = context;}
boost::any* TcpConnection::getContext() const
{return context_}

用于记录本次和本次连接密切相关的信息

标签:const,TcpConnection,context,上下文,boost,any
来源: https://blog.csdn.net/Wendell_0/article/details/120350920