Subject | Re: [firebird-support] Post_Event with 2 parameters |
---|---|
Author | Kamlesh |
Post date | 2004-02-29T10:21:19Z |
dear friend
i've not tried and i m not sure how it will work but u can try following
till fb2 (i hope)
u will have to register 37+ events i.e.'A' to 'Z', '0' to '9' and
terminator character(';') and some special characters if u need and then u
can prepare a message out of those chatacter
prepare and post such event
something like following if u want to send 'TableUpdate', 'Customers-12345'
POST_EVENT 'T'
POST_EVENT 'A'
POST_EVENT 'B'
POST_EVENT 'L'
POST_EVENT 'E'
POST_EVENT 'U'
POST_EVENT 'P'
POST_EVENT 'D'
POST_EVENT 'A'
POST_EVENT 'T'
POST_EVENT 'E'
POST_EVENT 'C'
POST_EVENT 'U'
POST_EVENT 'S'
POST_EVENT 'T'
POST_EVENT 'O'
POST_EVENT 'M'
POST_EVENT 'E'
POST_EVENT '-'
POST_EVENT '1'
POST_EVENT '2'
POST_EVENT '3'
POST_EVENT '4'
POST_EVENT '5'
POST_EVENT ';' // --- terminator at the end of message
at client application u can reprepare this message and analyze
its better to use short form message like 'TUCUS12345' rather than
'TableUpdate', 'Customers-12345';
well, u can prepare from such message only if u receive those event in there
posted sequence ( i m not sure of that and i think such operation may affect
performance)
well, its just a kids way , u should use tcp sockets for such communication
or that kind of third party components.
Kamlesh
"Yossi Zaig" <yle@...> wrote in message
news:005e01c3fe39$f82bb1f0$0100a8c0@YLE...
i've not tried and i m not sure how it will work but u can try following
till fb2 (i hope)
u will have to register 37+ events i.e.'A' to 'Z', '0' to '9' and
terminator character(';') and some special characters if u need and then u
can prepare a message out of those chatacter
prepare and post such event
something like following if u want to send 'TableUpdate', 'Customers-12345'
POST_EVENT 'T'
POST_EVENT 'A'
POST_EVENT 'B'
POST_EVENT 'L'
POST_EVENT 'E'
POST_EVENT 'U'
POST_EVENT 'P'
POST_EVENT 'D'
POST_EVENT 'A'
POST_EVENT 'T'
POST_EVENT 'E'
POST_EVENT 'C'
POST_EVENT 'U'
POST_EVENT 'S'
POST_EVENT 'T'
POST_EVENT 'O'
POST_EVENT 'M'
POST_EVENT 'E'
POST_EVENT '-'
POST_EVENT '1'
POST_EVENT '2'
POST_EVENT '3'
POST_EVENT '4'
POST_EVENT '5'
POST_EVENT ';' // --- terminator at the end of message
at client application u can reprepare this message and analyze
its better to use short form message like 'TUCUS12345' rather than
'TableUpdate', 'Customers-12345';
well, u can prepare from such message only if u receive those event in there
posted sequence ( i m not sure of that and i think such operation may affect
performance)
well, its just a kids way , u should use tcp sockets for such communication
or that kind of third party components.
Kamlesh
"Yossi Zaig" <yle@...> wrote in message
news:005e01c3fe39$f82bb1f0$0100a8c0@YLE...
> Hi.which record for example:
>
> Using FB 1.5 / Delphi 7 / FIBPlus.
>
> Is it possible to send 2 parameters with Post event,
> I am looking for way to notify the client that some table was updated and
> POST_EVENT 'TableUpdate', 'Customers-12345'hope to find a simpler way to do it.
>
> Some one advised me to build something like the "DMLCache mechanism", I
>
> If it does not exists on FB 1.5, Will it be available on FB 2.xx ?
>
> Thanks
> Yossi.
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>