Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: XWBCDDD

Package: RPC Broker

Routine: XWBCDDD


Information

XWBTCPC ;ISC-SF/EG/VYD - TCP/IP PROCESS HANDLER ;11/19/96 14:01 [ 11/20/96 12:53 PM ]

Source Information

Source file <XWBCDDD.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 5 ^%ZIS  ^%ZISC  (SETNM,T0,T1)^%ZOSV  (,$$NEWERR)^%ZTER  LOGOUT^XUSRB  
RPC Broker 1 CALLP^XWBBRK  
VA Fileman 1 DT^DICRW  

Entry Points

Name Comments DBIA/ICR reference
SND ; -- Send data (all except DSM)
BREAD(L) ;read tcp buffer, L is length
CHPRN(N) ;change process name
EN(XWBTIP,XWBTSKT,DUZ,XWBVER) ; -- Main entry point
ETRAP ; -- on trapped error, send error info to client
MSM ;entry point for MSERVER service - used by MSM
SNDERR ;send error information
SNDDSM ; -- send data for DSM (requires buffer flush (!) every 509 chars)
MAIN ; -- main message processing loop
RESTART

External References

Name Field # of Occurrence
^%ZIS EN+38
^%ZISC RESTART+11
SETNM^%ZOSV CHPRN+2
T0^%ZOSV MAIN+26
T1^%ZOSV MAIN+31
^%ZTER ETRAP+7
$$NEWERR^%ZTER EN+7, RESTART, RESTART+5, ETRAP+4, ETRAP+13
DT^DICRW RESTART+2
LOGOUT^XUSRB RESTART+7
CALLP^XWBBRK MAIN+21

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: "RPC broker disconnect!",!
  • Line Location: MSM+4
Function Call: WRITE
  • Prompt: "accept",$C(4),!
  • Line Location: MSM+15
Function Call: WRITE
  • Prompt: "accept",$C(4),!
  • Line Location: MSM+19
Function Call: WRITE
  • Prompt: /SOCKET(XWBTIP,XWBTSKT)
  • Line Location: EN+23
Function Call: WRITE
  • Prompt: XWBTBUF,$C(4),!
  • Line Location: MAIN+5
Function Call: READ
  • Timeout: 36000
  • Variable: XWBTBUF#11
  • Line Location: MAIN+6
Function Call: WRITE
  • Prompt: XWBTBUF,$C(4),!
  • Line Location: MAIN+6
Function Call: WRITE
  • Prompt: XWBTBUF,$C(4),!
  • Line Location: MAIN+8
Function Call: WRITE
  • Prompt: "accept",$C(4),!
  • Line Location: MAIN+15
Function Call: WRITE
  • Prompt: "#BYE#",$C(4),!
  • Line Location: MAIN+18
Function Call: WRITE
  • Prompt: $C(4),!
  • Line Location: MAIN+30
Function Call: WRITE
  • Prompt: $C($L(X))_X
  • Line Location: SNDERR+4
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ($X+$L(X)+1)>512
  • Line Location: SNDERR+4
Function Call: WRITE
  • Prompt: $C($L(X))_X
  • Line Location: SNDERR+6
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ($X+$L(X)+1)>512
  • Line Location: SNDERR+6
Function Call: WRITE
  • Prompt: ""
  • Line Location: SND+4
Function Call: WRITE
  • Prompt: XWBR
  • Line Location: SND+8
Function Call: WRITE
  • Prompt: XWBR(I),$C(13,10)
  • Line Location: SND+11
Function Call: WRITE
  • Prompt: XWBR(I)
  • Line Location: SND+14
Function Call: WRITE
  • Prompt: $C(13,10)
  • Condition for execution: XWBWRAP
  • Line Location: SND+14
Function Call: WRITE
  • Prompt: @I
  • Line Location: SND+17
Function Call: WRITE
  • Prompt: $C(13,10)
  • Condition for execution: XWBWRAP
  • Line Location: SND+17
Function Call: WRITE
  • Prompt: XWBR
  • Line Location: SND+19
Function Call: WRITE
  • Prompt: $C($L(XWBR(I))),XWBR(I)
  • Line Location: SND+21
Function Call: WRITE
  • Prompt: ""
  • Line Location: SNDDSM+4
Function Call: WRITE
  • Prompt: XWBR
  • Line Location: SNDDSM+8
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ($X+$L(XWBR(I)))>509
  • Line Location: SNDDSM+11
Function Call: WRITE
  • Prompt: XWBR(I),$C(13,10)
  • Line Location: SNDDSM+11
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ($X+$L(XWBR(I)))>509
  • Line Location: SNDDSM+14
Function Call: WRITE
  • Prompt: XWBR(I)
  • Line Location: SNDDSM+14
Function Call: WRITE
  • Prompt: $C(13,10)
  • Condition for execution: XWBWRAP
  • Line Location: SNDDSM+14
Function Call: WRITE
  • Prompt: @I
  • Condition for execution: $D(@I)>10
  • Line Location: SNDDSM+17
Function Call: WRITE
  • Prompt: XWBR
  • Line Location: SNDDSM+19
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ($X+$L(XWBR(I)))>509
  • Line Location: SNDDSM+21
Function Call: WRITE
  • Prompt: $C($L(XWBR(I))),XWBR(I)
  • Line Location: SNDDSM+21
Function Call: WRITE
  • Prompt: XWBERR,!
  • Line Location: ETRAP+9
Function Call: WRITE
  • Prompt: XWBERR,!
  • Line Location: ETRAP+11
Routine Call
  • %ZIS
  • Line Location:
    • EN+38

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("OS" EN+6
^%ZOSF("TRAP" EN+8, RESTART+1, RESTART+6, ETRAP+5
^%ZOSF("TRMOFF" EN+18

Label References

Name Line Occurrences
CHPRN EN+41
EN MSM+17
MAIN RESTART+3
RESTART ETRAP+13
SND MAIN+28
SNDDSM MAIN+27
SNDERR MSM+15, MSM+19, MAIN+6, MAIN+8, MAIN+15, MAIN+18, MAIN+25, ETRAP+9, ETRAP+11

Naked Globals

Name Field # of Occurrence
^("OS" EN+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DIQUIET RESTART+2*
DONE BREAD+1~, BREAD+2*, BREAD+5, BREAD+6*
DUZ EN~, RESTART+7
E BREAD+1~, BREAD+2*, BREAD+4*, BREAD+5, BREAD+6, BREAD+7, BREAD+8*, BREAD+9
I SND+1~, SND+11*, SND+14*, SND+17*, SND+21*, SNDDSM+1~, SNDDSM+11*, SNDDSM+14*, SNDDSM+17*, SNDDSM+21*
IO EN+4~, EN+37*, EN+38
IO(0 EN+37*
IOP EN+4~, EN+38*
L EN+4~, MAIN+10*, MAIN+11, BREAD~, BREAD+3, BREAD+5, BREAD+6, BREAD+7
LEN MSM+1~, MSM+3*, MSM+7, MSM+10*, MSM+11, MSM+13*
MSG MSM+1~, MSM+11*, MSM+13*, MSM+14, MSM+17, MSM+18
N CHPRN~, CHPRN+2
>> SOCKET( EN+23
T SND+1~, SND+17*, SNDDSM+1~, SNDDSM+17*
TYPE EN+1~, MAIN+7*, MAIN+8, MAIN+16
U RESTART+2*, MAIN+14
X MSM+1~, MSM+8*, MSM+9, MSM+13*, MSM+17, EN+2~, EN+8*, RESTART+1*, RESTART+6*, SNDERR+2~
, SNDERR+3*, SNDERR+4, SNDERR+5*, SNDERR+6, ETRAP+5*, BREAD+1~, BREAD+3*, BREAD+4, BREAD+7*, BREAD+8
>> XRT0 MAIN+31
XRTL EN+4~, EN+9!*, MAIN+26
>> XRTN MAIN+31*
XWB1 EN+2~
XWB2 EN+2~
XWBAPVER EN+4~, MAIN+2*, MAIN+10*
XWBARY RESTART+8!, MAIN+17!
XWBERR ETRAP+1~, ETRAP+2*, ETRAP+9, ETRAP+11
XWBERROR EN+3~, SNDERR+5, SNDERR+7*
XWBL EN+2~
XWBNULL EN+2~, EN+34*, EN+35, EN+38*, RESTART+10
XWBODEV EN+2~
>> XWBOS EN+6*, EN+9, EN+12, EN+21, EN+28, EN+34, EN+35, RESTART+10, MAIN+27, MAIN+28
, ETRAP+8, ETRAP+10
XWBPLEN EN+2~, MAIN+12*, MAIN+13
XWBPTYPE EN+2~, MAIN+22*, SND+6*, SND+8, SND+10, SND+13, SND+16, SND+19, SND+21, SNDDSM+6*
, SNDDSM+8, SNDDSM+10, SNDDSM+13, SNDDSM+16, SNDDSM+19, SNDDSM+21
XWBR RESTART+8!, MAIN+17!, MAIN+21, SND+6, SND+8*, SND+17, SND+19*, SNDDSM+6, SNDDSM+8*, SNDDSM+17
, SNDDSM+19*
XWBR( SND+11, SND+14, SND+21, SNDDSM+11, SNDDSM+14, SNDDSM+21
XWBSEC EN+3~, MAIN+29*, SNDERR+3, SND+4, SNDDSM+4
XWBTBUF EN+1~, MAIN+1, MAIN+6*, MAIN+7, MAIN+8*, MAIN+9, MAIN+10*, MAIN+11*, MAIN+12, MAIN+13*
, MAIN+14, MAIN+18, MAIN+21, MAIN+23
XWBTBUF1 EN+1~
XWBTDEV EN+1~, EN+19*, EN+25*, EN+29*, EN+30, EN+31, EN+37, RESTART+3, RESTART+9, MAIN+24
, ETRAP+6
XWBTIME EN+2~, EN+10*, MAIN+13, BREAD+3, BREAD+7
XWBTIP EN~, EN+23, EN+41
XWBTLEN EN+1~, MAIN+9*, MAIN+19*, ETRAP+9
XWBTOS EN+1~
XWBTRTN EN+1~
XWBTSKT EN~, EN+17, EN+18, EN+19, EN+23, EN+29, EN+41
XWBVER MSM+1~, MSM+2*, MSM+9*, MSM+17, EN~
XWBWRAP EN+1~, SND+6*, SND+14, SND+17, SNDDSM+6*, SNDDSM+14, SNDDSM+17
Y EN+2~
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All