Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC
Print Page as PDF
Routine: XWBM2MT

Package: RPC Broker

Routine: XWBM2MT


Information

XWBM2MT ;OIFO-Oakland/REM - M2M Broker Example ;05/16/2002 14:09

Source Information

Source file <XWBM2MT.m>

Entry Points

Name Comments DBIA/ICR reference
EN(CONTX,RPCN) ;Entry point to hard code IP,PORT,AV
EN1(CONTX,RPCN,PORT,IP,AV) ;
EXIT
EN2 ;Entry point that hard sets IP,PORT,AV,CONTEXT,RPC.
EN3(VAL) ;Just runs RPC; need to OPEN, SETCONTX then CLOSE. Or just call after
; connection has been done. **ONLY WORKS FOR TESTING IN DEV,XWB**
ECHOSTR ;Example of Echo String
WP ;Example of WP
LARRY ;Example of passing Array (mult).
LARRYRP(XWBY,XWBARR,XWBSTR) ;Remote procedure for local array
LARRSTR ;Example of passing Array (mult) and String.
REF ;Example of passing a value by reference
REFRP(RET,PARAM) ;Remote procedure for value passed by reference
USERIP ;Get IP,Port,AV from user for connection.
OPEN(PORT,IP,AV) ;Opens connection to server.
CLOSE ;Close the connection.
CLEARP ;Clear the PARAMS array
SETPARAM(INDEX,TYPE,VALUE) ;Set a Params entry
CLNTMP ;Kills the TMP("XWB*"
CLEAN ;

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Please Call XUP first!"
  • Line Location: EN1+11
Function Call: WRITE
  • Prompt: !!,"Test a M2M call to ",CONTX," context."
  • Line Location: EN1+13
Function Call: WRITE
  • Prompt: !,"Didn't get port open or AV failed."
  • Line Location: EN1+15
Function Call: WRITE
  • Prompt: !,"Didn't get Context"
  • Line Location: EN1+16
Function Call: WRITE
  • Prompt: !,"Call ",RPCN," - RPC."
  • Line Location: EN1+22
Function Call: WRITE
  • Prompt: !,"Could not run RPC."
  • Line Location: EN1+23
Function Call: WRITE
  • Prompt: !,REQ(I)
  • Line Location: EN1+24
Function Call: WRITE
  • Prompt: !
  • Line Location: EN1+25
Function Call: WRITE
  • Prompt: !,"PARAM failed."
  • Line Location: EN3+6
Function Call: WRITE
  • Prompt: !,"Could not run RPC."
  • Line Location: EN3+8

Used in RPC

RPC Name Call Tags
XWB M2M EXAMPLE LARRY LARRYRP
XWB M2M EXAMPLE REF REFRP
Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC