Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Forum Payload in $listen

  • Payload in $listen

    Posted by Franco Maregotto on September 30, 2022 at 5:40 am

    Hi $all

    Trying this forum for the first time after a long period out of the traditional Omnis List.

    My problem:

    I created an Object with superclass PGSQLDAM.PGSQLSESS. Then I added the $notify method to the object. Once instantiated I fire the $listen(iChannel) method. and try to fire a pg_notify command from PG server. As expected the breakpoint in the first line of code of the $notify says I’m doing it well, but I can’t get the payload. I expected to have it as a txt parameter.

    How can I read the payload content?

    Thank you and cheers to all

    Franco

    Andreas Pfeiffer replied 4 months ago 2 Members · 3 Replies
  • 3 Replies

Log in to reply.