mclassinfo examples
The examples in this section show the usage of the mclassinfo command.
Obtaining a list of classes
To obtain a list of classes used by a cell named grace, type the command shown in the following figure:
Example of mclassinfo command for a list of classes
Example output of mclassinfo command for a list of classes
Class: MC_CELL_CONTROL
Class: MC_CELL_START
Class: MC_CELL_STOP
Class: MC_CELL_TICK
Class: MC_CELL_STATBLD_START
Class: MC_CELL_STATBLD_STOP
Class: MC_CELL_DB_CLEANUP
Class: MC_CELL_CONNECT
Class: MC_CELL_CONNECT_RESOURCES_EXPANDED
Class: MC_CELL_CONNECT_SUSPENDED
Class: MC_CELL_CONNECT_RESUMED
Class: MC_CELL_CLIENT
Obtaining a list of slot names
To obtain a list of slot names used by a cell named grace, type the command shown in the following figure:
Example of mclassinfo command for list of classes
The following figure shows an example of the output.
Example of mclassinfo command output for list of classes
Slot: event_handle
Slot: mc_ueid
Slot: source
Slot: sub_source
Slot: hostname
Slot: origin
Adding slot names and representation types
To add slots names and representation types for use by a cell named grace, type the command shown in the following figure:
Example of mclassinfo command for adding slot names
The following figure shows an example of the output.
Example of mclassinfo command output for adding slot names
Slot: event_handle - Type: INTEGER
Slot: mc_ueid - Type: STRING
Slot: source - Type: STRING
Slot: sub_source - Type: STRING
Slot: hostname - Type: STRING
Slot: origin - Type: STRING
Adding slot flags and default values
To add slot flags and default values for use by a cell named grace, type the command shown in the following figure:
Example of mclassinfo command for adding slot flags
The following figure shows an example of the output.
Example of mclassinfo command output for adding slot flags
Slot: event_handle - Type: INTEGER - Flags: rkpdh - Def: 0
Slot: mc_ueid - Type: STRING - Flags: rkPdh - Def:
Slot: source - Type: STRING - Flags: rkPdh - Def:
Slot: sub_source - Type: STRING - Flags: rkPdh - Def:
Slot: hostname - Type: STRING - Flags: rkPdh - Def:
Slot: origin - Type: STRING - Flags: rkPdh - Def:.