1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16
17
18 import xdc.runtime.Error;
19
20 /*!
21 * ======== INameServerRemote ========
22 * Interface for remote NameServer accesses
23 */
24 interface INameServerRemote {
25
26 /*!
27 * ======== Status ========
28 * Status codes returned by certain calls
29 */
30 enum Status {
31 S_SUCCESS = 0,
32 E_FAIL = -1,
33 E_ERROR = -2
34 };
35
36 instance:
37
38 /*!
39 * ======== create ========
40 */
41 override create(UInt16 procId);
42
43 /*!
44 * ======== get ========
45 */
46 Int get(String instanceName,
47 String name,
48 Ptr value,
49 UInt32 *valueLen,
50 xdc.runtime.knl.ISync.Handle syncHandle,
51 Error.Block *eb);
52 }