class %Atelier.v7.TerminalAgent
extends %CSP.WebSocket
This class serves as an agent for terminal I/O.
parameter SECURITYRESOURCE = "%Development";
Require development resource
property Trace
as %Boolean [ InitialExpression = $GET(^IRIS.Temp.Atelier("terminal")) > 0 ];
This holds the TRACE flag
method OnPostServer()
as %Status
Event handler for the PostServer event: this is invoked after
closing the WebSockets Server.
method OnPreServer()
as %Status
Event handler for the PreServer event: this is invoked before
starting the WebSockets Server.
method Server()
as %Status
The WebSocket Server. Use the Read and Write methods
to receive data from, and send data to, the client.
Call the EndServer method to gracefully terminate the WebSocket Server.
method SyntaxColorInput(pInput As %String, Output pOutput As %String)
as %Status
Returns pInput with ANSI escape codes that color the text