jabberd2  2.3.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 166 of file router.h.

Field Documentation

router_t component_st::r
mio_fd_t component_st::fd

file descriptor

Definition at line 170 of file router.h.

Referenced by _router_sx_callback(), _router_time_checks(), and router_mio_callback().

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

ip:port pair

Definition at line 177 of file router.h.

Referenced by router_mio_callback().

sx_t component_st::s
rate_t component_st::rate

rate limits

Definition at line 183 of file router.h.

Referenced by _router_sx_callback(), and router_mio_callback().

int component_st::rate_log

Definition at line 184 of file router.h.

Referenced by _router_sx_callback().

xht component_st::routes

valid routes to this component, key is route name

Definition at line 187 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().

int component_st::legacy

true if this is an old component:accept stream

Definition at line 190 of file router.h.

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

jqueue_t component_st::tq

throttle queue

Definition at line 193 of file router.h.

Referenced by _router_comp_write(), _router_process_throttle(), and router_mio_callback().

time_t component_st::last_activity

timestamps for idle timeouts

Definition at line 196 of file router.h.

Referenced by _router_time_checks(), and router_mio_callback().


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