GSRComponent class

Represents the GUI Server. When creating an instance of EMXMLInvoker (or EMBasicXMLInvoker) with a reference to a GSRComponent type, the request is sent to the specified Control‑M/EM GUI Server. For more information, see ComponentType class.

The GSRComponent class uses the constructors listed in the following table:

Constructor

Description

GSRComponent (prototype 1)

Using this constructor, the request is sent to the GUI Server name specified under com.bmc.ctmem.emapi.GSR.name=name in the ctmemapi.properties file.

  • Syntax: GSRComponent();
  • Parameters: None
  • Return codes: None

GSRComponent (prototype 2)

Using this constructor, the request is sent to the GUI Server name specified with the name parameter.

  • Syntax: GSRComponent(String name);
  • Parameters: name. This is the GUI Server name.
  • Return codes: None

Parent Topic

Control-M/EM API Class references