The ProcessColonCommand method is used to send a colon command to the runtime system through a synchronous call.
Namespace – ABSuite.AccessLayer.Connector.Core
Assembly – Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll)
Syntax
void ProcessColonCommand(
string cmd
)
Arguments
cmd – System.String
This argument provides the colon command to be executed by the runtime system.
Using the IConnection Interface for the ProcessColonCommand Method
The following code shows an example of using the interface for the ProcessColonCommand() method:
// Format the required command string string cmd = "HEL" // Send the command to the host system ABSConnection.ProcessColonCommand(cmd);
After the command is sent, responses from the host application are collected in the MessageQueue property of the MessagesHandler, which is an instance of the IUnsolicitedMessages interface. See IUnsolicitedMessages Interface for more information.