Inherit (privately) to suppress copy/move construction and assignment.
Shared state among all the copies of a stream.
StreamStateBase(const token_type &token)
virtual void DisconnectSession(std::shared_ptr< Session > session)=0
virtual ~StreamStateBase()
virtual void ClearSessions()=0
virtual void ConnectSession(std::shared_ptr< Session > session)=0
const token_type & token() const
const std::shared_ptr< BufferPool > _buffer_pool
Serializes a stream endpoint.
This file contains definitions of common data structures used in traffic manager.