OpenTP1 Version 7 Tester and UAP Trace User's Guide
An RPC request data file stores the data passed to the service function for a service requested when using the client UAP simulator with an RPC interface. A single file contains one set of data.
| Item | Position | Length (bytes) | Contents |
|---|---|---|---|
| Data length | 0 | 4 | Length of the data to be passed to the service function. (0 - specified value of DCRPC_MAX_MESSAGE_SIZE) |
| Response area length | 4 | 4 | Length of the response area to be passed to the service function. (1 - specified value of DCRPC_MAX_MESSAGE_SIZE) |
| Data | 8 | n | Data to be passed to the service function. |
An XATMI request data file stores the data passed to the service function for a requested service when using the client UAP simulator with an XATMI interface. A single file contains one set of data.
| Item | Position | Length (bytes) | Contents |
|---|---|---|---|
| Call type | 0 | 8 | Type of function calling a service:
|
| Buffer type | 8 | 8 | Buffer type, specified as one of the following character strings:
|
| Buffer subtype | 16 | 16 | Buffer subtype, specified as a string of up to 16 characters. Specify a null character when specifying X_OCTET as the buffer type. |
| Flags | 32 | 4 | Flags to be passed to the service function, specified as a hexadecimal.
|
| Data length | 36 | 4 | Length of the data to be passed to the service function (0-524288). Specify zero when no data is passed. The buffer type and subtype specifications are ignored when zero is specified. |
| Data | 40 | n | Data to be passed to the service function |
void tpservice(svcinf)
TPSVCINFO *svcinf;
struct TPSVCINFO {
char name[32]; ......1.
char *data; ......2.
long len; ......3.
long flags; ......4.
int cd; ......5.
}
|
A TxRPC request data file stores the data passed to the service function for a requested service when using the client UAP simulator with a TxRPC interface. A single file contains one set of data.
| Item | Position | Length (bytes) | Contents |
|---|---|---|---|
| Major version | 0 | 2 | Major version number specified in the interface definition of the txidl command. Specify zero to omit this specification. |
| Minor version | 2 | 2 | Minor version number specified in the interface definition of the txidl command. Specify zero to omit this specification. |
| Data length | 4 | 4 | Length of the data to be specified for a data part (0 to specified value of DCRPC_MAX_MESSAGE_SIZE - 16). |
| Data | 8 | n | Argument data to be passed to the service function. When setting an address in the argument, set the contents of the area indicated by the address. Set character string #NULL## if the address is null. |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.