![ICS 8099 Скачать руководство пользователя страница 110](http://html1.mh-extra.com/html/ics/8099/8099_instruction-manual_3540995110.webp)
A-18
A3
C
VXI-11 RPCL
An ONC RPC protocol is described using RPCL. This section contains the
complete listing of the protocols for the core, abort , and interrupt channels.
RULE C.1:
A network instrument host SHALL implement the following RPCL con-
structs.
C.1
Core and Abort Channel Protocol
/* Types */
typedef long Device_Link;
enum Device_AddrFamily {
/* used by interrupts */
DEVICE_TCP,
DEVICE_UDP
};
typedef long Device_Flags;
/* Error types */
typedef long Device_ErrorCode;
struct Device_Error {
Device_ErrorCode error;
};
struct Create_LinkParms {
long clientId;
/* implementation specific value */
bool lockDevice;
/* attempt to lock the device */
unsigned long lock_timeout;
/* time to wait on a lock */
string device<>;
/* name of device */
};
struct Create_LinkResp {
Device_ErrorCode error;
Device_Link lid;
unsigned short abortPort;
/* for the abort RPC */
unsigned long maxRecvSize; /* specifies max data size in bytes
};
device will accept on a write */
struct Device_WriteParms {
Device_Link lid;
/* link id from create_link */
unsigned long io_timeout;
/* time to wait for I/O */
unsigned long lock_timeout;
/* time to wait for lock */
Device_Flags flags;
opaque data<>;
/* the data length and the data
};
itself */
Содержание 8099
Страница 20: ...1 16 1 This page intentionally left blank...
Страница 40: ...3 4 3 Figure 3 1 Status Reporting Structure Flash Data Corrupted...
Страница 156: ...Index 6 I This page intentionally left blank...