XWBM2MC ;OIFO-Oakland/REM - M2M Broker Client APIs ;09/15/15 06:18
Source file <XWBM2MC.m>
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.
|