jabberd2  2.6.1
Data Fields
component_st Struct Reference

a single component More...

#include <router.h>

Data Fields

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

Detailed Description

a single component

Definition at line 168 of file router.h.

Field Documentation

◆ r

router_t component_st::r

◆ fd

mio_fd_t component_st::fd

file descriptor

Definition at line 172 of file router.h.

Referenced by _router_sx_callback(), and _router_time_checks().

◆ ip

char component_st::ip[INET6_ADDRSTRLEN]

◆ port

int component_st::port

◆ ipport

char component_st::ipport[INET6_ADDRSTRLEN+6]

ip:port pair

Definition at line 179 of file router.h.

◆ s

sx_t component_st::s

◆ rate

rate_t component_st::rate

rate limits

Definition at line 185 of file router.h.

Referenced by _router_sx_callback().

◆ rate_log

int component_st::rate_log

Definition at line 186 of file router.h.

Referenced by _router_sx_callback().

◆ routes

xht component_st::routes

valid routes to this component, key is route name

Definition at line 189 of file router.h.

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

◆ legacy

int component_st::legacy

true if this is an old component:accept stream

Definition at line 192 of file router.h.

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

◆ tq

jqueue_t component_st::tq

throttle queue

Definition at line 195 of file router.h.

Referenced by _router_comp_write(), and _router_process_throttle().

◆ last_activity

time_t component_st::last_activity

timestamps for idle timeouts

Definition at line 198 of file router.h.

Referenced by _router_time_checks(), and router_mio_callback().


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