ET System  16.4
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
et_attach Struct Reference

Structure containing attachment info. More...

#include <et_private.h>

Data Fields

et_att_id num
 Unique index # of this attachment. More...
 
et_proc_id proc
 Unique index # of process owning this attachment. More...
 
et_stat_id stat
 Unique index # of station we're attached to. More...
 
int status
 ET_ATT_UNUSED is attachment unused or ET_ATT_ACTIVE if active. More...
 
int blocked
 ET_ATT_BLOCKED if blocked waiting to read events, else ET_ATT_UNBLOCKED. More...
 
int quit
 ET_ATT_QUIT to force return from ET API routine, else ET_ATT_CONTINUE if everything OK. More...
 
int sleep
 ET_ATT_SLEEP if attachment is remote and sleeping when getting events (sleep is simulated by multiple timed waits otherwise it causes trouble when waking attachments), else ET_ATT_NOSLEEP if not in simulated remote sleeping mode. More...
 
uint64_t events_put
 Number of events put into station output list. More...
 
uint64_t events_get
 Number of events obtained from station input list. More...
 
uint64_t events_dump
 Number of events dumped back into GrandCentral's input list (recycles). More...
 
uint64_t events_make
 Number of new events requested. More...
 
pid_t pid
 Unix process id# of process that owns attachment. More...
 
char host [ET_MAXHOSTNAMELEN]
 Host running process that owns attachment. More...
 
char interface [ET_IPADDRSTRLEN]
 Dot-decimal IP address of outgoing network interface. More...
 

Detailed Description

Structure containing attachment info.

Field Documentation

int et_attach::blocked

ET_ATT_BLOCKED if blocked waiting to read events, else ET_ATT_UNBLOCKED.

Referenced by et_wakeup_all(), and et_wakeup_attachment().

uint64_t et_attach::events_dump

Number of events dumped back into GrandCentral's input list (recycles).

Referenced by et_attach_geteventsdump(), et_event_dump(), and et_events_dump().

uint64_t et_attach::events_get

Number of events obtained from station input list.

Referenced by et_attach_geteventsget(), et_event_get(), and et_events_get().

uint64_t et_attach::events_make

Number of new events requested.

Referenced by et_attach_geteventsmake(), et_event_new(), et_events_new(), and et_events_new_group().

uint64_t et_attach::events_put

Number of events put into station output list.

Referenced by et_attach_geteventsput(), et_event_put(), and et_events_put().

char et_attach::host[ET_MAXHOSTNAMELEN]

Host running process that owns attachment.

Referenced by et_station_attach().

char et_attach::interface[ET_IPADDRSTRLEN]

Dot-decimal IP address of outgoing network interface.

et_att_id et_attach::num

Unique index # of this attachment.

Referenced by et_station_attach(), and et_station_detach().

pid_t et_attach::pid

Unix process id# of process that owns attachment.

Referenced by et_station_attach().

et_proc_id et_attach::proc

Unique index # of process owning this attachment.

Referenced by et_station_attach().

int et_attach::quit

ET_ATT_QUIT to force return from ET API routine, else ET_ATT_CONTINUE if everything OK.

Referenced by et_wakeup_all(), and et_wakeup_attachment().

int et_attach::sleep

ET_ATT_SLEEP if attachment is remote and sleeping when getting events (sleep is simulated by multiple timed waits otherwise it causes trouble when waking attachments), else ET_ATT_NOSLEEP if not in simulated remote sleeping mode.

Referenced by et_wakeup_all(), and et_wakeup_attachment().

et_stat_id et_attach::stat

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