Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (15 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/RPC_BROKER-XWB/XWBDLOG.m

    r628 r636  
    1 XWBDLOG ;ISF/RWF - Debug Logging for Broker ;12/08/2004  08:54
     1XWBDLOG ;ISF/RWF - Debug Logging for Broker ;08/04/2004  13:56
    22 ;;1.1;RPC BROKER;**35**;Mar 28, 1997
    33 Q
     
    55 ;Setup the log, Clear the log location.
    66LOGSTART(RTN) ;Clear the debug log
    7  Q:'$G(XWBDEBUG)
    87 K ^XTMP("XWBLOG"_$J)
    98 S ^XTMP("XWBLOG"_$J,0)=$$HTFM^XLFDT($$HADD^XLFDT($H,7))_"^"_$$DT^XLFDT
  • FOIAVistA/tag/r/RPC_BROKER-XWB/XWBRW.m

    r628 r636  
    1 XWBRW ;ISF/RWF - Read/Write for Broker TCP ;08/03/2004  15:09
    2  ;;1.1;RPC BROKER;**35**;Mar 28, 1997
     1XWBRW ;ISF/RWF - Read/Write for Broker TCP ;8/16/07  09:33
     2 ;;1.1;RPC BROKER;**35,49**;Mar 28, 1997;Build 4;WorldVistA 30-Jan-08
     3 ;Modified from FOIA VISTA,
     4 ;Copyright 2008 WorldVistA.  Licensed under the terms of the GNU
     5 ;General Public License See attached copy of the License.
     6 ;
     7 ;This program is free software; you can redistribute it and/or modify
     8 ;it under the terms of the GNU General Public License as published by
     9 ;the Free Software Foundation; either version 2 of the License, or
     10 ;(at your option) any later version.
     11 ;
     12 ;This program is distributed in the hope that it will be useful,
     13 ;but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 ;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 ;GNU General Public License for more details.
     16 ;
     17 ;You should have received a copy of the GNU General Public License along
     18 ;with this program; if not, write to the Free Software Foundation, Inc.,
     19 ;51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    320 Q
    421 ;
     
    1532 . S S=L-$L(R),R=R_$E(XWBRBUF,1,S),XWBRBUF=$E(XWBRBUF,S+1,999999)
    1633 . I ($L(R)=L)!(R[$C(4))!(C>TO) S DONE=1 Q
    17  . R XWBRBUF:2 S:'$T C=C+1 S:$L(XWBRBUF) C=0
     34 . R XWBRBUF#S:2 S:'$T C=C+1 S:$L(XWBRBUF) C=0 I +$DEVICE S DONE=1
    1835 . I $G(XWBDEBUG)>2,$L(XWBRBUF) D LOG^XWBDLOG("rd: "_$E(XWBRBUF,1,252))
    1936 . Q
  • FOIAVistA/tag/r/RPC_BROKER-XWB/XWBTCPL.m

    r628 r636  
    1 XWBTCPL ;SLC/KCM - Listener for TCP connects ;12/09/2004  07:33
     1XWBTCPL ;SLC/KCM - Listener for TCP connects ;08/25/2004  12:08
    22 ;;1.1;RPC BROKER;**1,7,9,15,16,35**;Mar 28, 1997
    33 ;ISC-SF/EG - DHCP Broker
     
    136136 . D UPDTREC(XWBTSKT,6) ;updt RPC BROKER SITE PARAMETER record as STOPPED
    137137 . Q
    138  S XWBDEBUG=$G(XWBDEBUG)
    139138 ;Set new trap
    140139 S $ETRAP="Q:($ESTACK&'$QUIT)  Q:$ESTACK -9 S $ECODE="""" G RESTART^XWBTCPL"
  • FOIAVistA/tag/r/RPC_BROKER-XWB/XWBTCPM.m

    r628 r636  
    1 XWBTCPM ;ISF/RWF - BROKER TCP/IP PROCESS HANDLER ;01/04/2006  62562.56228
    2  ;;1.1;RPC BROKER;**35,43**;Mar 28, 1997
     1XWBTCPM ;ISF/RWF - BROKER TCP/IP PROCESS HANDLER ;8/29/07  22:11
     2 ;;1.1;RPC BROKER;**35,43,49**;Mar 28, 1997;Build 6
    33 ;Based on: XWBTCPC & XWBTCPL, Modified by ISF/RWF
    44 ;Changed to be started by UCX or %ZISTCPS
     
    3838 ;GTM specific code
    3939 S @("$ZINTERRUPT=""I $$JOBEXAM^ZU($ZPOSITION)""")
    40  S XWBTDEV=$P X "U XWBTDEV:(nowrap:nodelimiter)"
     40 S XWBTDEV=$P X "U XWBTDEV:(nowrap:nodelimiter:ioerror=""TRAP"")"
    4141 S %="",@("%=$ZTRNLNM(""REMOTE_HOST"")") S:$L(%) IO("GTM-IP")=%
    4242 G CONNTYPE
     
    4444ESET ;Set inital error trap
    4545 S U="^",$ETRAP="D ^%ZTER H" ;Set up the error trap
     46 S X="",@^%ZOSF("TRAP") ;Clear old trap
    4647 Q
    4748 ;Find the type of connection and jump to the processing routine.
     
    155156 D ^%ZTER ;%ZTER clears $ZE and $ZCODE
    156157 D LOG("In ETRAP: "_XWBERC) ;Log
    157  I (XWBERC["READ")!(XWBERC["WRITE")!(XWBERC["SYSTEM-F") D EXIT HALT
     158 I (XWBERC["READ")!(XWBERC["WRITE")!(XWBERC["SYSTEM-F")!(XWBERC["IOEOF") D EXIT HALT
    158159 U XWBTDEV
    159160 I $G(XWBT("PCNT")) L ^XUTL("XUSYS",$J,0)
Note: See TracChangeset for help on using the changeset viewer.