gpg:: IMessageListener
이것이 추상 클래스입니다.
#include <i_message_listener.h>
원격 엔드포인트에서 메시지를 전달할 수 있는 인터페이스를 정의합니다.
요약
생성자 및 소멸자 |
|
---|---|
~IMessageListener()
|
공개 함수 |
|
---|---|
OnDisconnected(int64_t client_id, const std::string & remote_endpoint_id)=0
|
virtual void
원격 엔드포인트의 연결이 끊기면 호출됩니다.
|
OnMessageReceived(int64_t client_id, const std::string & remote_endpoint_id, const std::vector< uint8_t > & payload, bool is_reliable)=0
|
virtual void
메시지가 원격 엔드포인트에서 수신되면 호출됩니다.
|
공개 함수
OnDisconnected
virtual void OnDisconnected( int64_t client_id, const std::string & remote_endpoint_id )=0
원격 엔드포인트의 연결이 끊기면 호출됩니다.
OnMessageReceived
virtual void OnMessageReceived( int64_t client_id, const std::string & remote_endpoint_id, const std::vector< uint8_t > & payload, bool is_reliable )=0
메시지가 원격 엔드포인트에서 수신되면 호출됩니다.
~IMessageListener
virtual ~IMessageListener()