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