Subject | Re: [firebird-support] Post_Event with 2 parameters |
---|---|
Author | Kamlesh |
Post date | 2004-02-29T10:28:45Z |
i forgot to tell u that u can use loop if u have big message instead of
writting too many lines and assign your message characters to variable and
then post event
Kamlesh
""Kamlesh"" <emailkamlesh2000@...> wrote in message
news:BAY9-DAV62sl3xbYiMC0007f557@......
writting too many lines and assign your message characters to variable and
then post event
Kamlesh
""Kamlesh"" <emailkamlesh2000@...> wrote in message
news:BAY9-DAV62sl3xbYiMC0007f557@......
>'Customers-12345'
> 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',
>there
>
> 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
> posted sequence ( i m not sure of that and i think such operation mayaffect
> performance)communication
>
> well, its just a kids way , u should use tcp sockets for such
> or that kind of third party components.and
>
>
> Kamlesh
>
>
> "Yossi Zaig" <yle@...> wrote in message
> news:005e01c3fe39$f82bb1f0$0100a8c0@YLE...
> > Hi.
> >
> > 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
> which record for example:
> > POST_EVENT 'TableUpdate', 'Customers-12345'
> >
> > Some one advised me to build something like the "DMLCache mechanism", I
> hope to find a simpler way to do it.
> >
> > 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
> >
> >
> >
> >
> >
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>