Ets_Client_State_By_Name_Get()
Note: Requires OPNET Development Kit
Abstract
Returns the client state associated with the specified name.
Syntax
Ets_Client_State_By_Name_Get (client_state_type)
| Argument | Type | Description |
|---|---|---|
client_state_type |
const char * |
State type used to register a state with Ets_Client_State_Handlers_Register() |
Return Type
EtsT_Client_State_ID
State identifier if a match was found, invalid identifer otherwise.
Header
ets_pstate.h
Details
A new state is created using the Ets_Client_State_Handlers_Register() function. The first argument of that function is a state type string. Ets_Client_State_By_Name_Get() allows to access the state that was registered with the specified name.