Namespace: OpenEdge.ApplicationServer
Class
AgentInfo
Parent classes:
Inherits: Progress.Lang.Object

Copyright (c) 2014,2017 by Progress Software Corporation. All rights reserved.
File:AgentInfo.cls
Author(s):aherbstr
Created:Tuesday July 8 2014
Notes:Used by the Server Broker tools to manage agent sessions.




Method Summary
Options Name Purpose
LOGICAL getAgentConnectionData (table-handle)
LOGICAL getAgentRequestData (table-handle)
INT64 getAgentRequestQty () /* Returns the number of agent requests being monitored return int64 The number of agent requests. Returns -1 if not enabled */
LOGICAL getAgentSessionData (table-handle)
LOGICAL getAgentSessionStack (character, longchar) /* Returns the agent call stack for a given session @param character The session id for which to return a call stack @param longchar out JSON representation of the stack @return logical */
LOGICAL getAgentStacks (longchar) /* Returns the agent call stack for all sessions @param longchar out JSON representation of the stack @return logical */
LOGICAL getAgentStatData (table-handle)
LOGICAL getAgentThreadData (table-handle)
LOGICAL setArchiveAgentStats (logical) /* Toggles the agent stats archive on and off @param logical TRUE to enabled archiving; FALSE to disable @return logical TRUE when stats are archived, false otherwise */

Constructor Summary
Options Name Purpose
AgentInfo () /* Default constructor */


Method Detail
Top

LOGICAL getAgentConnectionData (table-handle)

Parameters:
pasThandle TABLE-HANDLE
Returns LOGICAL
Top

LOGICAL getAgentRequestData (table-handle)

Parameters:
pasThandle TABLE-HANDLE
Returns LOGICAL
Top

INT64 getAgentRequestQty ()

/* Returns the number of agent requests being monitored
return int64 The number of agent requests. Returns -1 if not enabled
Returns INT64
Top

LOGICAL getAgentSessionData (table-handle)

Parameters:
pasThandle TABLE-HANDLE
Returns LOGICAL
Top

LOGICAL getAgentSessionStack (character, longchar)

/* Returns the agent call stack for a given session
Parameters:
sessid CHARACTER
pStack LONGCHAR
Returns LOGICAL
logical
Top

LOGICAL getAgentStacks (longchar)

/* Returns the agent call stack for all sessions
Parameters:
pStacks LONGCHAR
Returns LOGICAL
logical
Top

LOGICAL getAgentStatData (table-handle)

Parameters:
pasThandle TABLE-HANDLE
Returns LOGICAL
Top

LOGICAL getAgentThreadData (table-handle)

Parameters:
pasThandle TABLE-HANDLE
Returns LOGICAL
Top

LOGICAL setArchiveAgentStats (logical)

/* Toggles the agent stats archive on and off
Parameters:
setValue LOGICAL
Returns LOGICAL
logical TRUE when stats are archived, false otherwise


Constructor Detail
Top

AgentInfo ()

/* Default constructor


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7