jabberd2  2.2.16
Data Fields
component_st Struct Reference

a single component More...

#include <router.h>

Data Fields

router_t r
mio_fd_t fd
 file descriptor
char ip [INET6_ADDRSTRLEN]
 remote ip and port
int port
char ipport [INET6_ADDRSTRLEN+6]
 ip:port pair
sx_t s
 our stream
rate_t rate
 rate limits
int rate_log
xht routes
 valid routes to this component, key is route name
int legacy
 true if this is an old component:accept stream
jqueue_t tq
 throttle queue
time_t last_activity
 timestamps for idle timeouts

Detailed Description

a single component


Field Documentation

file descriptor

Definition at line 169 of file router.h.

Referenced by _router_time_checks(), and _router_sx_callback().

char component_st::ip[INET6_ADDRSTRLEN]
char component_st::ipport[INET6_ADDRSTRLEN+6]

ip:port pair

Definition at line 176 of file router.h.

rate limits

Definition at line 182 of file router.h.

Referenced by _router_sx_callback().

Definition at line 183 of file router.h.

Referenced by _router_sx_callback().

valid routes to this component, key is route name

Definition at line 186 of file router.h.

Referenced by _router_process_bind(), _router_process_unbind(), _router_process_route(), _router_sx_callback(), _router_route_unbind_walker(), and router_mio_callback().

true if this is an old component:accept stream

Definition at line 189 of file router.h.

Referenced by _router_broadcast(), _router_comp_write(), and _router_sx_callback().

throttle queue

Definition at line 192 of file router.h.

Referenced by _router_comp_write(), and _router_process_throttle().

timestamps for idle timeouts

Definition at line 195 of file router.h.

Referenced by _router_time_checks(), and router_mio_callback().


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