Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::bin::InterfaceSocketAddress Class Reference

#include <socket_base.h>

Public Member Functions

 InterfaceSocketAddress (struct sockaddr *sa, const char *interface_name, intptr_t interface_index)
 
 ~InterfaceSocketAddress ()
 
SocketAddresssocket_address () const
 
const char * interface_name () const
 
int interface_index () const
 

Detailed Description

Definition at line 104 of file socket_base.h.

Constructor & Destructor Documentation

◆ InterfaceSocketAddress()

dart::bin::InterfaceSocketAddress::InterfaceSocketAddress ( struct sockaddr *  sa,
const char *  interface_name,
intptr_t  interface_index 
)
inline

Definition at line 106 of file socket_base.h.

109 : socket_address_(new SocketAddress(sa)),
110 interface_name_(interface_name),
111 interface_index_(interface_index) {}
const char * interface_name() const
Definition: socket_base.h:116

◆ ~InterfaceSocketAddress()

dart::bin::InterfaceSocketAddress::~InterfaceSocketAddress ( )
inline

Definition at line 113 of file socket_base.h.

113{ delete socket_address_; }

Member Function Documentation

◆ interface_index()

int dart::bin::InterfaceSocketAddress::interface_index ( ) const
inline

Definition at line 117 of file socket_base.h.

117{ return interface_index_; }

◆ interface_name()

const char * dart::bin::InterfaceSocketAddress::interface_name ( ) const
inline

Definition at line 116 of file socket_base.h.

116{ return interface_name_; }

◆ socket_address()

SocketAddress * dart::bin::InterfaceSocketAddress::socket_address ( ) const
inline

Definition at line 115 of file socket_base.h.

115{ return socket_address_; }

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