TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bgs::protocol::channel::v1::ChannelListener Class Reference

#include <channel_service.pb.h>

Public Types

typedef std::integral_constant
< uint32, 0xBF8C8094u > 
OriginalHash
 
typedef std::integral_constant
< uint32, 0xDA660990u > 
NameHash
 

Public Member Functions

 ChannelListener (bool use_original_hash)
 
virtual ~ChannelListener ()
 
void OnJoin (::bgs::protocol::channel::v1::JoinNotification const *request)
 
void OnMemberAdded (::bgs::protocol::channel::v1::MemberAddedNotification const *request)
 
void OnLeave (::bgs::protocol::channel::v1::LeaveNotification const *request)
 
void OnMemberRemoved (::bgs::protocol::channel::v1::MemberRemovedNotification const *request)
 
void OnSendMessage (::bgs::protocol::channel::v1::SendMessageNotification const *request)
 
void OnUpdateChannelState (::bgs::protocol::channel::v1::UpdateChannelStateNotification const *request)
 
void OnUpdateMemberState (::bgs::protocol::channel::v1::UpdateMemberStateNotification const *request)
 
void CallServerMethod (uint32 token, uint32 methodId, MessageBuffer buffer) overridefinal
 
- Public Member Functions inherited from ServiceBase
virtual ~ServiceBase ()
 

Static Public Member Functions

static
google::protobuf::ServiceDescriptor
const
descriptor ()
 

Protected Member Functions

virtual uint32 HandleOnJoin (::bgs::protocol::channel::v1::JoinNotification const *request)
 
virtual uint32 HandleOnMemberAdded (::bgs::protocol::channel::v1::MemberAddedNotification const *request)
 
virtual uint32 HandleOnLeave (::bgs::protocol::channel::v1::LeaveNotification const *request)
 
virtual uint32 HandleOnMemberRemoved (::bgs::protocol::channel::v1::MemberRemovedNotification const *request)
 
virtual uint32 HandleOnSendMessage (::bgs::protocol::channel::v1::SendMessageNotification const *request)
 
virtual uint32 HandleOnUpdateChannelState (::bgs::protocol::channel::v1::UpdateChannelStateNotification const *request)
 
virtual uint32 HandleOnUpdateMemberState (::bgs::protocol::channel::v1::UpdateMemberStateNotification const *request)
 
- Protected Member Functions inherited from ServiceBase
virtual void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request, std::function< void(MessageBuffer)> callback)=0
 
virtual void SendRequest (uint32 serviceHash, uint32 methodId, google::protobuf::Message const *request)=0
 
virtual void SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, uint32 status)=0
 
virtual void SendResponse (uint32 serviceHash, uint32 methodId, uint32 token, google::protobuf::Message const *response)=0
 
virtual std::string GetCallerInfo () const =0
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ChannelListener)
 

Private Attributes

uint32 service_hash_
 

Member Typedef Documentation

typedef std::integral_constant<uint32, 0xDA660990u> bgs::protocol::channel::v1::ChannelListener::NameHash
typedef std::integral_constant<uint32, 0xBF8C8094u> bgs::protocol::channel::v1::ChannelListener::OriginalHash

Constructor & Destructor Documentation

bgs::protocol::channel::v1::ChannelListener::ChannelListener ( bool  use_original_hash)
explicit
virtual bgs::protocol::channel::v1::ChannelListener::~ChannelListener ( )
virtual

Member Function Documentation

void bgs::protocol::channel::v1::ChannelListener::CallServerMethod ( uint32  token,
uint32  methodId,
MessageBuffer  buffer 
)
finaloverridevirtual

Implements ServiceBase.

static google::protobuf::ServiceDescriptor const* bgs::protocol::channel::v1::ChannelListener::descriptor ( )
static
bgs::protocol::channel::v1::ChannelListener::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ChannelListener  )
private
virtual uint32 bgs::protocol::channel::v1::ChannelListener::HandleOnJoin ( ::bgs::protocol::channel::v1::JoinNotification const request)
protectedvirtual
virtual uint32 bgs::protocol::channel::v1::ChannelListener::HandleOnLeave ( ::bgs::protocol::channel::v1::LeaveNotification const request)
protectedvirtual
virtual uint32 bgs::protocol::channel::v1::ChannelListener::HandleOnMemberAdded ( ::bgs::protocol::channel::v1::MemberAddedNotification const request)
protectedvirtual
virtual uint32 bgs::protocol::channel::v1::ChannelListener::HandleOnMemberRemoved ( ::bgs::protocol::channel::v1::MemberRemovedNotification const request)
protectedvirtual
virtual uint32 bgs::protocol::channel::v1::ChannelListener::HandleOnSendMessage ( ::bgs::protocol::channel::v1::SendMessageNotification const request)
protectedvirtual
virtual uint32 bgs::protocol::channel::v1::ChannelListener::HandleOnUpdateChannelState ( ::bgs::protocol::channel::v1::UpdateChannelStateNotification const request)
protectedvirtual
virtual uint32 bgs::protocol::channel::v1::ChannelListener::HandleOnUpdateMemberState ( ::bgs::protocol::channel::v1::UpdateMemberStateNotification const request)
protectedvirtual
void bgs::protocol::channel::v1::ChannelListener::OnJoin ( ::bgs::protocol::channel::v1::JoinNotification const request)
void bgs::protocol::channel::v1::ChannelListener::OnLeave ( ::bgs::protocol::channel::v1::LeaveNotification const request)
void bgs::protocol::channel::v1::ChannelListener::OnMemberAdded ( ::bgs::protocol::channel::v1::MemberAddedNotification const request)
void bgs::protocol::channel::v1::ChannelListener::OnMemberRemoved ( ::bgs::protocol::channel::v1::MemberRemovedNotification const request)
void bgs::protocol::channel::v1::ChannelListener::OnSendMessage ( ::bgs::protocol::channel::v1::SendMessageNotification const request)
void bgs::protocol::channel::v1::ChannelListener::OnUpdateChannelState ( ::bgs::protocol::channel::v1::UpdateChannelStateNotification const request)
void bgs::protocol::channel::v1::ChannelListener::OnUpdateMemberState ( ::bgs::protocol::channel::v1::UpdateMemberStateNotification const request)

Member Data Documentation

uint32 bgs::protocol::channel::v1::ChannelListener::service_hash_
private

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