HP Reliable Transaction Router User Manual
Page 76

Application Programming Interfaces
Sample C client
code
Example of an open channel call in an RTR client program:
status = rtr_open_channel(&Channel,
Flags,
Facility,
Recipient,
RTR_NO_PEVTNUM,
Access,
RTR_NO_NUMSEG,
RTR_NO_PKEYSEG);
if (Status != RTR_STS_OK)
Sample C server
code
Example of a receive message call in an RTR server program:
status = rtr_receive_message(&Channel,
RTR_NO_FLAGS,
RTR_ANYCHAN,
MsgBuffer,
DataLen,
RTR_NO_TIMOUTMS,
&MsgStatusBlock);
if (status != RTR_STS_OK)
A client can have one or multiple channels, and a server can
have one or multiple channels. A server can use concurrent
servers, each with one channel. How you create your design
depends on whether you have a single CPU or a multiple CPU
machine, and on your overall design goals and implementation
requirements. For a more complete discussion of application
designs, refer to the HP Reliable Transaction Router Application
Design Guide.
4–22 RTR Interfaces
- NRM42 (61 pages)
- ProLiant ML370 (49 pages)
- ProLiant ML370 (50 pages)
- ProLiant ML110 G5 (32 pages)
- PC Comm Station Pro 304251-008 (North America) (5 pages)
- 100B-TX (32 pages)
- 3C905B-TX (110 pages)
- EK-STWCT-UG. E01 (45 pages)
- 3800ux (13 pages)
- 5991-6764 (8 pages)
- LTO 4 FC (46 pages)
- StorageWorks Network Attached Storage X3000 (16 pages)
- Ultrium Drive (30 pages)
- ProLiant DL360 (49 pages)
- CD Leycom CFL-512 (5 pages)
- RDX160 (12 pages)
- 345524-B21 (54 pages)
- DT-20 (20 pages)
- SureStore 7115w (136 pages)
- HD1600 (2 pages)
- ProLiant DL160 (38 pages)
- Vectra XW (16 pages)
- D2D4004i (20 pages)
- F1588A (4 pages)
- 94500 (1 page)
- Computer Parts (21 pages)
- MSA50 (8 pages)
- 7750 (32 pages)
- Media Gateways G350 (76 pages)
- P400 Serial (9 pages)
- MSL4048 (4 pages)
- 3C590-TPO (40 pages)
- mv2040 (2 pages)
- AHA-8940 (82 pages)
- ProLiant DL385 (174 pages)
- ProLiant DL385 (47 pages)
- 5300A (19 pages)
- AMD Geode E2047551001R (111 pages)
- 1100d (102 pages)
- xp1024 (2 pages)
- 180 Degree Turn (24 pages)
- procurve J8165A (32 pages)
- 04H8095 (28 pages)
- 744 (154 pages)