Last change
on this file since 1606 was 628, checked in by George Lilly, 15 years ago |
initial load of FOIAVistA 6/30/08 version
|
File size:
727 bytes
|
Line | |
---|
1 | XWBM2MEZ ;OIFO-Oakland/JLI - M2M Broker EZ Usage ;08/01/2006 7925229.750776
|
---|
2 | ;;1.1;RPC BROKER;**45**;Mar 28, 1997
|
---|
3 | ;
|
---|
4 | QUIT
|
---|
5 | ;
|
---|
6 | CONNECT(PORT,IP,AV) ;
|
---|
7 | S XWBPARMS("MODE")="RPCBroker"
|
---|
8 | S XWBPARMS("RETRIES")=3
|
---|
9 | I '$$CONNECT^XWBM2MC(PORT,IP,AV) Q "Didn't get port open or AV failed."
|
---|
10 | Q 1
|
---|
11 | ;
|
---|
12 | CLOSE ;Close the connection.
|
---|
13 | N X
|
---|
14 | S X=$$CLOSE^XWBM2MC()
|
---|
15 | Q
|
---|
16 | ;
|
---|
17 | SETCNTXT(CONTX) ;
|
---|
18 | I '$$SETCONTX^XWBM2MC(CONTX) D CLOSE Q "Didn't get Context"
|
---|
19 | Q 1
|
---|
20 | ;
|
---|
21 | DORPC(RESULT,RPCNAME) ;
|
---|
22 | S RESULT=$G(RESULT)
|
---|
23 | K XWBY
|
---|
24 | Q $$CALLRPC^XWBM2MC(RPCNAME,.RESULT,1)
|
---|
25 | ;
|
---|
26 | CLEARP ;
|
---|
27 | K XWBPARMS
|
---|
28 | S XWBPARMS("MODE")="RPCBroker"
|
---|
29 | Q
|
---|
30 | ;
|
---|
31 | SETPARAM(INDEX,TYPE,VALUE) ;Set a Params entry
|
---|
32 | S XWBPARMS("PARAMS",INDEX,"TYPE")=TYPE
|
---|
33 | S XWBPARMS("PARAMS",INDEX,"VALUE")=VALUE
|
---|
34 | Q
|
---|
35 | ;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.