SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
PacketEvent Class Reference

#include <CRUD_Events.h>

Inheritance diagram for PacketEvent:
Inheritance graph
Collaboration diagram for PacketEvent:
Collaboration graph

Public Member Functions

 PacketEvent (EventProcessor *evsrc, std::unique_ptr< CrudP_Packet > &&pkt, const ACE_INET_Addr &tgt)
 
const uint8_t * bytes () const
 
size_t size () const
 
- Public Member Functions inherited from SEGSEvent
virtual ~SEGSEvent ()
 
 SEGSEvent (uint32_t evtype, EventProcessor *ev_src=nullptr)
 
SEGSEventshallow_copy ()
 
void release ()
 
int get_ref_count () const
 
void src (EventProcessor *ev_src)
 
EventProcessorsrc () const
 
uint32_t type () const
 
virtual const char * info ()
 

Public Attributes

std::unique_ptr< CrudP_Packetm_pkt
 
ACE_INET_Addr target
 

Additional Inherited Members

- Static Public Attributes inherited from SEGSEvent
static SEGSEvent s_ev_finish
 
- Protected Attributes inherited from SEGSEvent
const uint32_t m_type
 
EventProcessorm_event_source
 
std::atomic< int > m_ref_count {1}
 

Constructor & Destructor Documentation

PacketEvent::PacketEvent ( EventProcessor evsrc,
std::unique_ptr< CrudP_Packet > &&  pkt,
const ACE_INET_Addr &  tgt 
)
inline

Member Function Documentation

const uint8_t* PacketEvent::bytes ( ) const
inline
size_t PacketEvent::size ( ) const
inline

Member Data Documentation

std::unique_ptr<CrudP_Packet> PacketEvent::m_pkt
ACE_INET_Addr PacketEvent::target

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