Skip to main content

TCPTrace.Config

SQL Table Name: TCPTrace.Config

Define Connections for TCPTrace utility

Property Inventory

Method Inventory

Properties

property Active as %Boolean;
Determine whether a job should be listening on for this connection
Property methods: ActiveDisplayToLogical(), ActiveGet(), ActiveGetStored(), ActiveIsValid(), ActiveLogicalToDisplay(), ActiveNormalize(), ActiveSet()
property ConfigName as %String [ Required ];
Property methods: ConfigNameDisplayToLogical(), ConfigNameGet(), ConfigNameGetStored(), ConfigNameIsValid(), ConfigNameLogicalToDisplay(), ConfigNameLogicalToOdbc(), ConfigNameNormalize(), ConfigNameSet()
property InboundPort as %Integer;
Property methods: InboundPortDisplayToLogical(), InboundPortGet(), InboundPortGetStored(), InboundPortIsValid(), InboundPortLogicalToDisplay(), InboundPortNormalize(), InboundPortSet()
property InboundSSL as %String;
Property methods: InboundSSLDisplayToLogical(), InboundSSLGet(), InboundSSLGetStored(), InboundSSLIsValid(), InboundSSLLogicalToDisplay(), InboundSSLLogicalToOdbc(), InboundSSLNormalize(), InboundSSLSet()
property OutboundAddress as %String;
Property methods: OutboundAddressDisplayToLogical(), OutboundAddressGet(), OutboundAddressGetStored(), OutboundAddressIsValid(), OutboundAddressLogicalToDisplay(), OutboundAddressLogicalToOdbc(), OutboundAddressNormalize(), OutboundAddressSet()
property OutboundPort as %Integer;
Property methods: OutboundPortDisplayToLogical(), OutboundPortGet(), OutboundPortGetStored(), OutboundPortIsValid(), OutboundPortLogicalToDisplay(), OutboundPortNormalize(), OutboundPortSet()
property OutboundSSL as %String;
Property methods: OutboundSSLDisplayToLogical(), OutboundSSLGet(), OutboundSSLGetStored(), OutboundSSLIsValid(), OutboundSSLLogicalToDisplay(), OutboundSSLLogicalToOdbc(), OutboundSSLNormalize(), OutboundSSLSet()
property Running as %Boolean;
Property methods: RunningDisplayToLogical(), RunningGet(), RunningGetStored(), RunningIsValid(), RunningLogicalToDisplay(), RunningNormalize(), RunningSet()
property RunningStatus as %Boolean [ Calculated ];
Property methods: RunningStatusCompute(), RunningStatusDisplayToLogical(), RunningStatusGet(), RunningStatusIsValid(), RunningStatusLogicalToDisplay(), RunningStatusNormalize(), RunningStatusSQLCompute()

Methods

classmethod OnConnected(pSocket As %IO.ServerSocket, pJobArgs As %String)
Callback from %IO.ServerSocket. New JOB for each connection.
classmethod Run(pConfigName="test", pInboundPort=8080, pOutboundPort=57776, pOutboundAddress="localhost") as %Status
This is called at Startup by the background JOB to listen for connections on the input port. Tthe OnConnected method is defined as the callback for the %IO.ServerSocket, which results in another JOB being started each time a connection is detected.
classmethod SetActive(pName, pActive=1) as %Status
classmethod Startup(pAll=0)
pAll=1 will make all Active=0 Active
classmethod StopAll()

Queries

query Items()
SQL Query:
SELECT %ID,InboundPort,OutboundAddress,OutboundPort,Active,Running FROM TCPTrace.Config

Indexes

index (IDKEY on ConfigName) [IdKey, Type = key, Unique];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheStorage (TCPTrace.Config)

^TCPTrace.ConfigD(ID)
=
%%CLASSNAME
InboundPort
OutboundPort
OutboundAddress
InboundSSL
OutboundSSL
Active
Running
FeedbackOpens in a new tab