AppChat  0.5.0
TCP client-server caht application with boost::asio library.
Public Member Functions | List of all members
TextResponse Class Reference
Inheritance diagram for TextResponse:
Inheritance graph
[legend]
Collaboration diagram for TextResponse:
Collaboration graph
[legend]

Public Member Functions

 TextResponse (identifier_t roomid=0)
 
 TextResponse (const std::string &login, const std::string &text, identifier_t roomid=0)
 
 TextResponse (const std::string &login, DateTime dt, const std::string &text, identifier_t roomid=0)
 
 TextResponse (response_ptr response)
 
const char * get_message () const
 
- Public Member Functions inherited from TransportResponse
virtual const void * get_data () const override
 
virtual void * get_data () override
 
virtual const char * get_login () const
 
virtual identifier_t get_roomid () const
 
virtual uint32_t get_length_data () const override
 
- Public Member Functions inherited from Response
virtual const void * get_header () const override
 
virtual void * get_header () override
 
virtual uint16_t get_protocol_version () const override
 
virtual TypeCommand get_type () const override
 
virtual TypeCommand get_type_data () const override
 
virtual DateTime get_datetime () const override
 

Additional Inherited Members

- Protected Attributes inherited from TransportResponse
char __data [LengthResponse]
 
- Protected Attributes inherited from Response
char header [Block::Header]
 
- Static Protected Attributes inherited from TransportResponse
static constexpr auto LengthResponse = Block::LoginName + Block::RoomId + Block::TextMessage
 

The documentation for this class was generated from the following file: