Protocol: UPoC

  • Creator
    Topic
  • #50990
    Jerry Tilsley
    Participant

    Does anyone have any examples in how they have used the protocol type of UPoC?  Just curious to the various ways this has been used.

    Thanks!

Viewing 3 reply threads
  • Author
    Replies
    • #68315
      Ron Archambault
      Participant

      Jerry,

      We use them for timed reads to our databases. There’s a good example called  timed_read.tcl in $HCIROOT/contrib.

      Ron

    • #68316
      Jerry Tilsley
      Participant

      Thanks Ron!

    • #68317
      Robert Milfajt
      Participant

      I once used a UPoC to perform an http post call.  I forget why I used UPoC, but I believe it was because we were still on 3.8.1P and that versions HTTP protocol was not working as I expected.  It turned out to be a shortlived proof of concept as the people running the project are not working with the Mirth open source interface engine as a front end to loading their database.

      Bob

      Robert Milfajt
      Northwestern Medicine
      Chicago, IL

    • #68318
      Russ Ross
      Participant

      I posted an example of how I use the UPOC protocol to communicate with our IBM mainframe via TCP/IP by having the UPOC invoke the appropriate application (TRHB) on the mainframe and then send it the FRL containing the textual transcription document.

      Here is the URL of my post that includes most of the details you are looking for, including a copy of the code for my upoc_tran_client.tcl and NetConfig screen shots:

      http://clovertech.infor.com/viewtopic.php?t=2409&

      It even has logic in it that reads from the USERDATA metadata that gets set in another cloverleaf process during xlate to communcate to the outbound UPOC thread if the document was too large and has been truncated.

      One thing to remember when doing UPOC that is significant, you assume the responsiblilities that the cloverleaf engine typically handles for you and have to code for those responsibilities.

      Also remember if your UPOC has a sleep in it that it will sleep the entire process and any threads in that process.

      Russ Ross
      RussRoss318@gmail.com

Viewing 3 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,119
Forums
28
Topics
9,293
Replies
34,435
Topic Tags
286
Empty Topic Tags
10