List of all members | Public Fields | Public Types | Public Instance Methods | Static Public Attributes
processDcUpdate Class Referencefinal

Inherits Function.

Description

Handles a DC_UPDATE push service notification. Can be called before authorization.

Returns object_ptr<Ok>.

Public Fields

std::string dc_
 Value of the "dc" parameter of the notification.
 
std::string addr_
 Value of the "addr" parameter of the notification.
 

Public Types

using ReturnType = object_ptr< ok >
 Typedef for the type returned by the function.
 

Public Instance Methods

 processDcUpdate ()
 
 processDcUpdate (std::string const &dc_, std::string const &addr_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = -1806562997
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ processDcUpdate() [1/2]

Default constructor. All fields will be value-initilaized.

◆ processDcUpdate() [2/2]

processDcUpdate ( std::string const &  dc_,
std::string const &  addr_ 
)

Constructor for initialization of all fields.

Parameters
[in]dc_Value of the "dc" parameter of the notification.
[in]addr_Value of the "addr" parameter of the notification.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


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