Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

gdp / gdp / gdp_event.h @ master

History | View | Annotate | Download (2.66 KB)

# Date Author Comment
c87dd166 01/23/2019 07:56 AM Eric Allman

Update license date on all files. No functional changes.

e6319882 09/04/2018 09:09 AM Eric Allman

First pass at ordering results of asynchronous reads. Works if the
reads come in pre-sorted, but so far untested for out-of-order delivery.

b2910e9d 08/15/2018 02:06 PM Eric Allman

Additional debugging for events and PDU processing for debugging out of
order PDU problems.

caa69652 07/20/2018 01:02 PM Eric Allman

Make event queue a TAILQ instead of an STAILQ to avoid n2 algorithm
when results arrive in order.

e95fef13 07/20/2018 11:59 AM Eric Allman

First cut at fixing bug that sometimes caused an "End of Results" PDU to
be delivered before some of the results themselves. This involves
passing a "number of results sent" field in the "End of Results" PDU and
saving that PDU until the indicated number of results are processed....

ada5f328 06/20/2018 07:15 AM Eric Allman

Improvements to event and metadata printing.

328ab6a8 01/23/2018 05:34 PM Eric Allman

Changes for signed/unsigned conflicts and other type nits. C++ is much
more picky about these than C, but this is probably justified. Sadly,
some of the changes are pretty ugly.

fec93aac 10/24/2017 02:38 PM Eric Allman

First cut at separating GCL instances (GINs) from GDP Objects (GOBs).
This is intended to fix some semantic problems with subscriptions. End
users always use GINs (aliased to gdp_gcl_t for now for compatibility),
and there is one GIN for each call to gdp_gcl_open (i.e., no returning...

897accec 02/06/2017 10:41 AM Eric Allman

Update licenses to 2017.

4d6ff457 09/27/2016 04:52 PM Eric Allman

Fix problem that might occur if an initial response PDU to a command
such as MULTIREAD is delayed; follow-on data was treated as a response to
the initial command rather than as asynchronous events.

35fe99c5 06/07/2016 01:16 PM Eric Allman

Code cleanup and comments.

8cc28925 05/26/2016 05:10 PM Eric Allman

First cut on implementing FWD_APPEND command. Still not working for all
cases.

6bd5476b 12/01/2015 01:22 PM Eric Allman

Update license. No code changes.

055d3009 11/21/2015 01:20 PM Eric Allman

Include copyright in all files. There are scripts to do bulk
replacement of the copyright if desired.

e2682ba9 05/28/2015 10:36 AM Eric Allman

Implement asynchronous writes. Adds new interfaces:
* gdp_gcl_append_async -- initiate an asynchronous write.
* gdp_event_getstat -- get the status code from an event.
Asynchronous reads can be done using multiread.
Note that asynchronous writes do not attempt retransmissions, unlike...

6aa10a68 02/08/2015 11:13 AM Eric Allman

Back out changes carrying over req to event --- it's important that they
be decoupled.

bc1bfac2 02/02/2015 10:45 AM Eric Allman

Keep old PDU around after delivering data from subscription; this let's
us renew the subscription periodically so that records will not be lost.

be7cbe23 01/31/2015 05:11 PM Eric Allman

Run subscription callbacks in dedicated thread. Untested.

fe034bdb 11/25/2014 01:04 PM Eric Allman

Implement subscription callbacks. Note that these almost never do what
you actually want, so the event interface is preferred.

e4bb9795 11/25/2014 09:25 AM Eric Allman

Simplify event queue implementation (TAILQ => STAILQ)

2e4a5d7d 09/12/2014 12:52 PM Eric Allman

First cut at returning multiple results. This extends "subscribe" to
have a starting record number and a record count.

22442bd4 09/08/2014 03:37 PM Eric Allman

Hide data structure internals by wrapping them in functions. This also
updates the documentation, but it hasn't been significantly reviewed
yet.

8f19d4ba 08/24/2014 02:58 PM Eric Allman

Subscriptions working!

9509f13b 08/23/2014 01:27 PM Eric Allman

Another snapshot. Much closer to having subscriptions working.