Ets_Model_Network_State_Get()
Note: Requires OPNET Development Kit
Abstract
Returns client's pointer associated with specified state.
Syntax
Ets_Model_Network_State_Get (mdl_hndl, client_ID)
| Argument | Type | Description |
|---|---|---|
mdl_hndl |
EtsT_Model_Handle |
Handle to object with state pointer of interest. |
client_ID |
EtsT_Client_State_ID |
An object can have many different client state types. This identifies your client state type. |
Return Type
void *
Returns the pointer to the client state.
Header
ets_pstate.h
Details
Returns client's state pointer. After this function is called, the client state is no longer installed.
Function will return NULL if there is no installed client state or the client_ID or mdl_hndl is invalid.
The model type must be network.