Horizon Official Technical Documentation
Horizon::Auth::AC_REQ_MOBILE_OTP Class Reference

Main object for the aegis packet: AC_REQ_MOBILE_OTP. More...

#include <TransmittedPackets.hpp>

+ Inheritance diagram for Horizon::Auth::AC_REQ_MOBILE_OTP:
+ Collaboration diagram for Horizon::Auth::AC_REQ_MOBILE_OTP:

Public Member Functions

 AC_REQ_MOBILE_OTP (std::shared_ptr< AuthSession > s)
 
virtual ~AC_REQ_MOBILE_OTP ()
 
void deliver ()
 AC_REQ_MOBILE_OTP. More...
 
ByteBufferserialize ()
 
- Public Member Functions inherited from Horizon::Base::NetworkPacket< AuthSession >
 NetworkPacket (uint16_t packet_id, std::shared_ptr< AuthSession > s)
 
virtual ~NetworkPacket ()
 
void set_packet_id (uint16_t id)
 
uint16_t get_packet_id ()
 
ByteBufferbuf ()
 
std::shared_ptr< AuthSession > get_session ()
 Retrieves the session from this handler instance. More...
 
virtual void handle (ByteBuffer &&buf)
 
virtual void deserialize (ByteBuffer &buf)
 
void transmit ()
 Send an Asynchronous packet by queueing a buffer of a particular size to the connected session. More...
 
void transmit (std::size_t size)
 Send an Asynchronous packet by queueing a buffer of a particular size to the connected session. More...
 

Additional Inherited Members

- Protected Attributes inherited from Horizon::Base::NetworkPacket< AuthSession >
ByteBuffer _buffer
 Buffer storage facility for the packet stream. More...
 
uint16_t _packet_id
 ID of the network packet. More...
 

Detailed Description

Main object for the aegis packet: AC_REQ_MOBILE_OTP.

Constructor & Destructor Documentation

◆ AC_REQ_MOBILE_OTP()

Horizon::Auth::AC_REQ_MOBILE_OTP::AC_REQ_MOBILE_OTP ( std::shared_ptr< AuthSession s)
inline
1204 : NetworkPacket<AuthSession>(ID_AC_REQ_MOBILE_OTP, s)
1205 {}
@ ID_AC_REQ_MOBILE_OTP
Definition: TransmittedPackets.hpp:1185

◆ ~AC_REQ_MOBILE_OTP()

virtual Horizon::Auth::AC_REQ_MOBILE_OTP::~AC_REQ_MOBILE_OTP ( )
inlinevirtual
1206{}

Member Function Documentation

◆ deliver()

void AC_REQ_MOBILE_OTP::deliver ( )

◆ serialize()

ByteBuffer & AC_REQ_MOBILE_OTP::serialize ( )
348{
349 return buf();
350}
ByteBuffer & buf()
Definition: NetworkPacket.hpp:59

References Horizon::Base::NetworkPacket< AuthSession >::buf().

+ Here is the call graph for this function:

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