Subject | RE: [Firebird-Java] Re: Is EventManager of the Event API (JayBird 2.1b) thread safe? |
---|---|
Author | Rick Debay |
Post date | 2006-06-28T17:14:49Z |
What about an accompanying BIGINT or two that can be used as a bit
field? If you attach it to the name, you have to know to listen for
"EventA123" as well as "EventA124", etcetera.
-----Original Message-----
From: Firebird-Java@yahoogroups.com
[mailto:Firebird-Java@yahoogroups.com] On Behalf Of Roman Rokytskyy
Sent: Wednesday, June 28, 2006 11:42 AM
To: Firebird-Java@yahoogroups.com
Subject: Re: [Firebird-Java] Re: Is EventManager of the Event API
(JayBird 2.1b) thread safe?
those IDs as part of the event name. Note, it is limited by 78 bytes.
I understood him right, he is still fond of the current concept because
it is very lightweight and still opposed to the idea of events with
parameters which would consume server memory, etc.
Roman
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
field? If you attach it to the name, you have to know to listen for
"EventA123" as well as "EventA124", etcetera.
-----Original Message-----
From: Firebird-Java@yahoogroups.com
[mailto:Firebird-Java@yahoogroups.com] On Behalf Of Roman Rokytskyy
Sent: Wednesday, June 28, 2006 11:42 AM
To: Firebird-Java@yahoogroups.com
Subject: Re: [Firebird-Java] Re: Is EventManager of the Event API
(JayBird 2.1b) thread safe?
> Does the architecture or grammar of the Firebird Event model supportConceptually - no, practically you can generate a custom event name with
> adding parameters to events?
>
> I can picture a pair of BIGINTs being sent along the wire with the
> event, and a getEventData(eventId) call to go back to the server for
> more information.
those IDs as part of the event name. Note, it is limited by 78 bytes.
> The former would OR all the parameters every time the event was postedSome time ago I had short discussion with Jim Starkey on this topic. If
> before it was eventually broadcast to clients (like the way parameters
> for asynchronous windowing messages are handled). The latter would
> only work well if each event, when posted, had a unique ID associated
> with it, to differentiate the first broadcast of "eventA" from the Nth
> broadcast of "eventA". At the server, the programmer would be
> responsible for maintaining the data structure that would be sent back
> with the retrieval of the event data.
I understood him right, he is still fond of the current concept because
it is very lightweight and still opposed to the idea of events with
parameters which would consume server memory, etc.
Roman
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links