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 |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: XWBM2MC

Package: RPC Broker

Routine: XWBM2MC


Information

XWBM2MC ;OIFO-Oakland/REM - M2M Broker Client APIs ;09/15/15 06:18

Source Information

Source file <XWBM2MC.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
RPC Broker 5 $$CALLRPC^XWBM2MC  ($$OPEN,CLOSE)^XWBRL  PARSE^XWBRPC  REQUEST^XWBRPCC  $$EXECUTE^XWBVLC  
Kernel 2 (RMDEV,SAVDEV,USE)^%ZISUTL  $$ENCRYP^XUSRB1  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 7

Package Total Caller Graph
RPC Broker 5 XWBM2MC  XWBM2MEZ  XWBM2MT  XWBRPC  XWBRPCC  
Kernel 2 XULM  XUSBSE1  

Entry Points

Name Comments DBIA/ICR reference
CONNECT(PORT,IP,AV) ;Establishes the connection to the server.
ISCONT() ;Function to check connection status. 1=connect, 0=not connect
SETCONTX(CONTXNA) ;Set context and returns 1=successful or 0=failed
GETCONTX(CONTEXT) ;Returns current context
SETPARAM(INDEX,TYPE,VALUE) ;Set a Params entry
PARAM(PARAMNUM,ROOT) ;Build the PARAM data structure
CALLRPC(RPCNAM,RES,CLRPARMS) ;Call to RPC and wraps RPC in XML
CLOSE() ;Close connection
CLEAN ;Clean up
SIGNON() ;
VALIDAV(AV) ;Check AV code
GETDIV(XWBDIVG) ;*p34-gets the division for a user.
SETDIV(XWBDIVS) ;*p34-sets the division for a user.
PRE ;Prepare the needed PARMS **REM might not need PRE
ERROR(CODE,STR) ;Will write error msg and related API in TMP
ERRMSG ; Error messages *p34-add 2 more error msg for GETDIV and SETDIV.

External References

Name Field # of Occurrence
RMDEV^%ZISUTL CLOSE+5
SAVDEV^%ZISUTL CONNECT+14, CALLRPC+14, CLOSE+2
USE^%ZISUTL CONNECT+30, CALLRPC+15, CALLRPC+22, CALLRPC+29, CALLRPC+39, CALLRPC+45, CALLRPC+48, CLOSE+3
$$ENCRYP^XUSRB1 SETCONTX+5, VALIDAV+2
$$CALLRPC^XWBM2MC GETDIV+12, SETDIV+7
$$OPEN^XWBRL CONNECT+13
CLOSE^XWBRL CLOSE+4
PARSE^XWBRPC CALLRPC+32, SIGNON+13, VALIDAV+18
REQUEST^XWBRPCC CALLRPC+18, SIGNON+6, VALIDAV+11
$$EXECUTE^XWBVLC CALLRPC+27, SIGNON+12, VALIDAV+17

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("XWBM2M" CONNECT+31*, ISCONT+1, SETCONTX+2*, SETCONTX+3!, SETCONTX+9*, GETCONTX+1, CLOSE+7*, CLEAN+4!
^TMP("XWBM2ME" SETCONTX+8*, CALLRPC+12!, ERROR+4
^TMP("XWBM2ML" CLEAN+5!
^TMP("XWBM2MRL" CLEAN+5!
^TMP("XWBM2MRPC" CONNECT+27, CALLRPC+10*, CALLRPC+11!, CALLRPC+41, CALLRPC+44*, CLEAN+4!
^TMP("XWBM2MVLC" CALLRPC+36, CALLRPC+42, CLEAN+4!
^TMP("XWBVLL" CLEAN+5!

Label References

Name Line Occurrences
$$CALLRPC SETCONTX+6
$$CLOSE CONNECT+17, CONNECT+25, CONNECT+27
$$ISCONT CALLRPC+13, CLOSE+1
$$SIGNON CONNECT+17
$$VALIDAV CONNECT+25
CLEAN CLOSE+6
ERROR CONNECT+13, CONNECT+17, CONNECT+25, CONNECT+27, CALLRPC+13, CALLRPC+28, CLOSE+1, GETDIV+12, SETDIV+7
PRE SETCONTX+5, VALIDAV+3, GETDIV+11, SETDIV+6
SETPARAM SETCONTX+5, GETDIV+11, SETDIV+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
API ERROR+2~, ERROR+3*, ERROR+4
AV CONNECT~, CONNECT+25, VALIDAV~, VALIDAV+2*, VALIDAV+8
CLRPARMS CALLRPC~, CALLRPC+20, CALLRPC+47
CODE ERROR~
CONTEXT GETCONTX~, GETCONTX+1*, GETCONTX+2
CONTXNA SETCONTX~, SETCONTX+5, SETCONTX+9
ER CALLRPC+6~, CALLRPC+36*, CALLRPC+37, CALLRPC+38, CALLRPC+42*, CALLRPC+43, CALLRPC+44
ERX CALLRPC+6~, CALLRPC+35, CALLRPC+37*, CALLRPC+38, CALLRPC+41, CALLRPC+43*, CALLRPC+44
GL CALLRPC+6~
INDEX SETPARAM~, SETPARAM+1, SETPARAM+2
IO CONNECT+30, CALLRPC+15, CALLRPC+22, CALLRPC+29, CALLRPC+39, CALLRPC+45, CALLRPC+48, CLOSE+3
IP CONNECT~, CONNECT+9, CONNECT+13
PARAMNUM PARAM~, PARAM+3, PARAM+5
PORT CONNECT~, CONNECT+9, CONNECT+13
REQ SETCONTX+1~, SETCONTX+7*, SETCONTX+8, SETDIV+3~, SETDIV+5*, SETDIV+7
REQ(1 SETCONTX+7
RES CALLRPC~, CALLRPC+7*, CALLRPC+9, CALLRPC+10, CALLRPC+21!, CALLRPC+31, CALLRPC+35, CALLRPC+41
ROOT PARAM~, PARAM+3, PARAM+5, GETDIV+9~
RPC GETDIV+9~
RPCNAM CALLRPC~, CALLRPC+8, CALLRPC+16
STR ERROR~, ERROR+4
TYPE SETPARAM~, SETPARAM+1
VALUE SETPARAM~, SETPARAM+2
X CONNECT+17*, CONNECT+25*, CONNECT+27*, SETCONTX+1~, SETCONTX+6*, ERROR+2~, ERROR+4*
XWBCBK CLEAN+6!
XWBCLRFL CLEAN+8!
XWBCOK CLEAN+7!
>> XWBCRLFL CALLRPC+17*, CALLRPC+19, SIGNON+5*, SIGNON+7, VALIDAV+10*, VALIDAV+12
>> XWBDBUG CLEAN+3
XWBDIVG GETDIV~, GETDIV+12
XWBDIVS SETDIV~, SETDIV+6
XWBFIRST CLEAN+6!
XWBPARMS CONNECT+8~, CONNECT+13, SETCONTX+1~, CALLRPC+18, CALLRPC+27, CALLRPC+32, CLEAN+3!, SIGNON+2~, SIGNON+3!, SIGNON+6
, SIGNON+12, SIGNON+13, VALIDAV+1!, VALIDAV+11, VALIDAV+17, VALIDAV+18, VALIDAV+19!, GETDIV+10!, GETDIV+13!, SETDIV+4!
, SETDIV+8!
XWBPARMS("ADDRESS" CONNECT+9*
XWBPARMS("MODE" PRE+3*
XWBPARMS("PARAMS" SETPARAM+1*, SETPARAM+2*, PARAM+5*, CALLRPC+20!, CALLRPC+47!, VALIDAV+6*, VALIDAV+8*
XWBPARMS("PORT" CONNECT+9*
XWBPARMS("RETRIES" CONNECT+10*
XWBPARMS("URI" CALLRPC+16*, SIGNON+4*, VALIDAV+9*
XWBQUIT CLEAN+6!
XWBREAD CLEAN+6!
XWBREQ CLEAN+7!
XWBRL CLEAN+7!
XWBROOT CLEAN+7!
XWBSTAT CONNECT+8~
XWBSTOP CLEAN+7!
XWBTDEV CLEAN+6!
XWBTID CLEAN+6!
XWBTO CLEAN+6!
XWBVER CLEAN+6!
XWBX CLEAN+7!
XWBY CALLRPC+31*, CALLRPC+32, CALLRPC+35, CALLRPC+38, CLEAN+7!, SIGNON+2~, SIGNON+13*, VALIDAV+18*
XWBYX CLEAN+7!

Marked Items

Name Field # of Occurrence
$T(ERRMSG+CODE ERROR+3, ERROR+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All