interface ti.sdo.utils.INameServerRemote

Interface for remote NameServer accesses

XDCspec summary sourced in ti/sdo/utils/INameServerRemote.xdc
interface INameServerRemote {  ...
// inherits xdc.runtime.IModule
instance:  ...
XDCspec declarations sourced in ti/sdo/utils/INameServerRemote.xdc
package ti.sdo.utils;
 
interface INameServerRemote {
module-wide constants & types
        S_SUCCESS,
        E_FAIL,
        E_ERROR
    };
module-wide config parameters
module-wide functions
    Int attach// Function is called by Ipc_attach() through NameServer_SetupProxy(UInt16 remoteProcId, Ptr sharedAddr);
 
 
instance:
per-instance creation
    create// Create an instance-object(UInt16 procId);
per-instance functions
    Int get// (String instanceName, String name, Ptr value, UInt32 *valueLen, ISync.Handle syncHandle, Error.Block *eb);
}
 
enum INameServerRemote.Status

Status codes returned by certain calls

XDCspec declarations sourced in ti/sdo/utils/INameServerRemote.xdc
enum Status {
    S_SUCCESS,
    E_FAIL,
    E_ERROR
};
 
 
metaonly config INameServerRemote.common$  // module-wide

Common module configuration parameters

XDCspec declarations sourced in ti/sdo/utils/INameServerRemote.xdc
metaonly config Types.Common$ common$;
 
DETAILS
All modules have this configuration parameter. Its name contains the '$' character to ensure it does not conflict with configuration parameters declared by the module. This allows new configuration parameters to be added in the future without any chance of breaking existing modules.
 
INameServerRemote.attach()  // module-wide

Function is called by Ipc_attach() through NameServer_SetupProxy

XDCspec declarations sourced in ti/sdo/utils/INameServerRemote.xdc
Int attach(UInt16 remoteProcId, Ptr sharedAddr);
 
 
INameServerRemote.detach()  // module-wide

Function is called by Ipc_detach() through NameServer_SetupProxy

XDCspec declarations sourced in ti/sdo/utils/INameServerRemote.xdc
Int detach(UInt16 remoteProcId);
 
 
INameServerRemote.sharedMemReq()  // module-wide

Returns the shared memory size requirement for a single instance

XDCspec declarations sourced in ti/sdo/utils/INameServerRemote.xdc
SizeT sharedMemReq(Ptr sharedAddr);
 
ARGUMENTS
sharedAddr — Shared address
RETURNS
Number of MAUs needed to create the instance.
DETAILS
Function is called during Ipc_attach() through NameServer_SetupProxy.
Static Instance Creation

XDCspec declarations sourced in ti/sdo/utils/INameServerRemote.xdc
create(UInt16 procId);
// Create an instance-object
 
INameServerRemote.get()  // instance
XDCspec declarations sourced in ti/sdo/utils/INameServerRemote.xdc
Int get(String instanceName, String name, Ptr value, UInt32 *valueLen, ISync.Handle syncHandle, Error.Block *eb);
 
generated on Fri, 21 Aug 2015 19:36:04 GMT