Re: [Firebird-devel] Events working description

2014-06-11 Thread Jim Starkey
On 6/11/2014 3:52 PM, Jiri Cincura wrote: I might need to go one layer down and understand how it's done on wire protocol level. I forgotten the details, so reading the code is best. I'm quite sure it requires opening a second network connection to the server for asynchronous notifications.

Re: [Firebird-devel] Events working description

2014-06-11 Thread Jiri Cincura
I might need to go one layer down and understand how it's done on wire protocol level. -- Jiri {x2} Cincura http://blog.cincura.net/ | http://www.ID3renamer.com -- HPCC Systems Open Source Big Data Platform from LexisNex

Re: [Firebird-devel] Events working description

2014-06-11 Thread James Starkey
It's internal to the event manager, but an "interest" in a named event persists until the connection is closed. In case I wasn't clear, the event notification call is one-shot -- one registration, at most one notification. There probably is a cancel event call, but it isn't anything you normally

Re: [Firebird-devel] Events working description

2014-06-11 Thread Jiri Cincura
On Wednesday, June 11, 2014, Jim Starkey wrote: > The event count mechanism makes the system reliable -- if an event is > posted between the time notification is delivered and a subsequent > registration call, the subsequent call will return immediately with an > updated buffer. > Thanks. Do I u

Re: [Firebird-devel] Events working description

2014-06-11 Thread Dimitry Sibiryakov
11.06.2014 20:41, Jim Starkey wrote: > If one or more of the event counts are zero, the call returns > immediately, which is useful for initialization. You forgot to say that if you feed to API call already initialized event buffer (from different connection/database/server), you'll get (almo

Re: [Firebird-devel] Events working description

2014-06-11 Thread Jim Starkey
On 6/11/2014 1:23 PM, Jiri Cincura wrote: > Hi *, > > is there some description how events work? From protocol POV. I'm > hunting some race condition in .NET driver and cannot understand > what's happening there. Sadly the code I'm looking at is like 7 years > old and nobody touched it since. > The

[Firebird-devel] Events working description

2014-06-11 Thread Jiri Cincura
Hi *, is there some description how events work? From protocol POV. I'm hunting some race condition in .NET driver and cannot understand what's happening there. Sadly the code I'm looking at is like 7 years old and nobody touched it since. -- Jiri {x2} Cincura http://blog.cincura.net/ | http://w

Re: [Firebird-devel] Plugin version number

2014-06-11 Thread Dimitry Sibiryakov
11.06.2014 8:27, Alex Peshkoff wrote: > May be you can say a few words about it? Where will be replication > plugins plugged into firebird? Into the engine. TRA_commit() to be exactly. -- WBR, SD. -- HPCC Systems