gpg::
  This is an abstract class.
  #include <i_message_listener.h>
  Defines an interface which can be delivered messages from remote endpoints.
Summary
| Constructors and Destructors | |
|---|---|
| ~IMessageListener() | 
| Public functions | |
|---|---|
| OnDisconnected(int64_t client_id, const std::string & remote_endpoint_id)=0 | virtual voidInvoked when a remote endpoint is disconnected.  | 
| OnMessageReceived(int64_t client_id, const std::string & remote_endpoint_id, const std::vector< uint8_t > & payload, bool is_reliable)=0 | virtual voidInvoked when a message is received from a remote endpoint.  | 
Public functions
OnDisconnected
virtual void OnDisconnected( int64_t client_id, const std::string & remote_endpoint_id )=0
Invoked when a remote endpoint is disconnected.
OnMessageReceived
virtual void OnMessageReceived( int64_t client_id, const std::string & remote_endpoint_id, const std::vector< uint8_t > & payload, bool is_reliable )=0
Invoked when a message is received from a remote endpoint.
~IMessageListener
virtual ~IMessageListener()
