interface ti.sdo.utils.INameServerRemote |
|
|
Interface for remote NameServer accesses
interface INameServerRemote { ...
instance: ...
interface INameServerRemote {
module-wide constants & types
};
module-wide config parameters
module-wide functions
instance:
per-instance creation
per-instance functions
}
enum INameServerRemote.Status |
|
Status codes returned by certain calls
enum Status {
S_SUCCESS,
E_FAIL,
E_ERROR
};
metaonly config INameServerRemote.common$ // module-wide |
|
Common module configuration parameters
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
Int attach(UInt16 remoteProcId, Ptr sharedAddr);
INameServerRemote.detach() // module-wide |
|
Function is called by Ipc_detach() through NameServer_SetupProxy
Int detach(UInt16 remoteProcId);
INameServerRemote.sharedMemReq() // module-wide |
|
Returns the shared memory size requirement for a single instance
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.
Instance Creation |
|
create(UInt16 procId);
// Create an instance-object
INameServerRemote.get() // instance |
|
generated on Thu, 03 Oct 2013 16:56:37 GMT