Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | List of all members
ares::test::VirtualizeIO Class Reference

#include <ares-test.h>

Inheritance diagram for ares::test::VirtualizeIO:
Inheritance graph
[legend]

Public Member Functions

 if (configure_socket(s) !=0)
 
 if (s==ARES_SOCKET_BAD)
 
 VirtualizeIO (ares_channel)
 
 ~VirtualizeIO ()
 

Public Attributes

ares_socket_t const struct sockaddr * addr
 
ares_socket_t const struct sockaddr socklen_t void ares_socket_t void size_t int struct sockaddr * addr
 
int af
 
ares_socket_t const struct sockaddr socklen_t void ares_socket_t void size_t int struct sockaddr socklen_t * alen
 
int int int void * ares_socket_t
 
ares_socket_t const struct sockaddr socklen_t void ares_socket_t void size_t int struct sockaddr socklen_t void * ares_ssize_t
 
ares_socket_t const struct sockaddr socklen_t void ares_socket_t void * dst
 
ares_socket_t const struct sockaddr socklen_t void ares_socket_t void size_t int flags
 
ares_socket_t const struct sockaddr socklen_t len
 
ares_socket_t const struct sockaddr socklen_t void ares_socket_t void size_t len
 
ares_socket_t const struct iovec int len
 
ares_socket_t void * p
 
int int int protocol
 
return s
 
ares_socket_t s
 
ares_socket_t const struct sockaddr socklen_t void ares_socket_t s
 
int int type
 
ares_socket_t const struct iovecvec
 

Static Public Attributes

static const ares_socket_functions default_functions
 

Private Attributes

ares_channel channel_
 

Detailed Description

Definition at line 555 of file ares-test-internal.cc.

Constructor & Destructor Documentation

◆ VirtualizeIO()

ares::test::VirtualizeIO::VirtualizeIO ( ares_channel  c)

Definition at line 795 of file ares-test.cc.

◆ ~VirtualizeIO()

ares::test::VirtualizeIO::~VirtualizeIO ( )

Definition at line 801 of file ares-test.cc.

Member Function Documentation

◆ if() [1/2]

ares::test::VirtualizeIO::if ( configure_socket(s) !  = 0)
inline

Definition at line 561 of file ares-test-internal.cc.

◆ if() [2/2]

ares::test::VirtualizeIO::if ( s  = ARES_SOCKET_BAD)
inline

Definition at line 558 of file ares-test-internal.cc.

Member Data Documentation

◆ addr [1/2]

ares_socket_t const struct sockaddr* ares::test::VirtualizeIO::addr

Definition at line 570 of file ares-test-internal.cc.

◆ addr [2/2]

ares_socket_t const struct sockaddr socklen_t void ares_socket_t void size_t int struct sockaddr* ares::test::VirtualizeIO::addr

Definition at line 573 of file ares-test-internal.cc.

◆ af

int ares::test::VirtualizeIO::af

Definition at line 556 of file ares-test-internal.cc.

◆ alen

ares_socket_t const struct sockaddr socklen_t void ares_socket_t void size_t int struct sockaddr socklen_t* ares::test::VirtualizeIO::alen

Definition at line 573 of file ares-test-internal.cc.

◆ ares_socket_t

int int int void* ares::test::VirtualizeIO::ares_socket_t
Initial value:
{

Definition at line 556 of file ares-test-internal.cc.

◆ ares_ssize_t

ares_socket_t const struct sockaddr socklen_t void ares_socket_t void size_t int struct sockaddr socklen_t void* ares::test::VirtualizeIO::ares_ssize_t
Initial value:
{
return sread(s, dst, len)

Definition at line 573 of file ares-test-internal.cc.

◆ channel_

ares_channel ares::test::VirtualizeIO::channel_
private

Definition at line 459 of file ares-test.h.

◆ default_functions

const ares_socket_functions ares::test::VirtualizeIO::default_functions
static

Definition at line 457 of file ares-test.h.

◆ dst

ares_socket_t const struct sockaddr socklen_t void ares_socket_t void* ares::test::VirtualizeIO::dst

Definition at line 573 of file ares-test-internal.cc.

◆ flags

ares_socket_t const struct sockaddr socklen_t void ares_socket_t void size_t int ares::test::VirtualizeIO::flags

Definition at line 573 of file ares-test-internal.cc.

◆ len [1/3]

ares_socket_t const struct sockaddr socklen_t ares::test::VirtualizeIO::len

Definition at line 570 of file ares-test-internal.cc.

◆ len [2/3]

ares_socket_t const struct sockaddr socklen_t void ares_socket_t void size_t ares::test::VirtualizeIO::len

Definition at line 573 of file ares-test-internal.cc.

◆ len [3/3]

ares_socket_t const struct iovec int ares::test::VirtualizeIO::len

Definition at line 580 of file ares-test-internal.cc.

◆ p

ares_socket_t void* ares::test::VirtualizeIO::p
Initial value:

Definition at line 567 of file ares-test-internal.cc.

◆ protocol

int int int ares::test::VirtualizeIO::protocol

Definition at line 556 of file ares-test-internal.cc.

◆ s [1/3]

ares_socket_t ares::test::VirtualizeIO::s

Definition at line 565 of file ares-test-internal.cc.

◆ s [2/3]

ares_socket_t ares::test::VirtualizeIO::s

Definition at line 566 of file ares-test-internal.cc.

◆ s [3/3]

ares_socket_t const struct sockaddr socklen_t void ares_socket_t ares::test::VirtualizeIO::s

Definition at line 570 of file ares-test-internal.cc.

◆ type

int int ares::test::VirtualizeIO::type

Definition at line 556 of file ares-test-internal.cc.

◆ vec

ares_socket_t const struct iovec* ares::test::VirtualizeIO::vec

Definition at line 580 of file ares-test-internal.cc.


The documentation for this class was generated from the following files:
ares::test::VirtualizeIO::af
int af
Definition: ares-test-internal.cc:556
sclose
#define sclose(x)
Definition: setup_once.h:266
ares::test::VirtualizeIO::protocol
int int int protocol
Definition: ares-test-internal.cc:556
ares::test::VirtualizeIO::type
int int type
Definition: ares-test-internal.cc:556
ares::test::VirtualizeIO::dst
ares_socket_t const struct sockaddr socklen_t void ares_socket_t void * dst
Definition: ares-test-internal.cc:573
ares::test::VirtualizeIO::s
return s
Definition: ares-test-internal.cc:565
test_server.socket
socket
Definition: test_server.py:65
ares::test::VirtualizeIO::len
ares_socket_t const struct sockaddr socklen_t len
Definition: ares-test-internal.cc:570


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:57