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

Inherits Object.

Description

Describes the address of UDP reflectors.

Public Fields

int64 id_
 Reflector identifier.
 
string ip_
 IPv4 reflector address.
 
string ipv6_
 IPv6 reflector address.
 
int32 port_
 Reflector port number.
 
bytes peer_tag_
 Connection peer tag.
 

Public Instance Methods

 callConnection ()
 
 callConnection (int64 id_, string const &ip_, string const &ipv6_, int32 port_, bytes const &peer_tag_)
 
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 = 1318542714
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ callConnection() [1/2]

Describes the address of UDP reflectors.

◆ callConnection() [2/2]

callConnection ( int64  id_,
string const &  ip_,
string const &  ipv6_,
int32  port_,
bytes const &  peer_tag_ 
)

Describes the address of UDP reflectors.

Parameters
[in]id_Reflector identifier.
[in]ip_IPv4 reflector address.
[in]ipv6_IPv6 reflector address.
[in]port_Reflector port number.
[in]peer_tag_Connection peer tag.

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: