Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostConnection Class > Methods

UpdateCounters Method

Scroll Prev Top Next More

Adds entry timings to the active Inventu Viewer+ Performance Data values.

 

void HostConnection.UpdateCounters(uint activeWebSockets, uint newConnections,

       uint completedEnters, uint totalReceiveToHostTime,uint totalUpdateToSendTime,
      uint totalHostRoundTripTime, uint maxReceiveToHostTime, uint maxUpdateToSendTime,
      uint maxHostRoundTripTime);

 

Arguments

 

HostConnection

 Required. HostConnection object.

 

activeWebSockets

 Required. When appropriate, report the number of active websocket connections

 

newConnections

 Required. New connections made over a minute's time -- update and clear once a minute

 

completedEnters

 Required. Number of screen enters over a minute's time - update and clear once a minute

 

totalReceiveToHostTime

Required. Total number of milliseconds over a minute's time spent processing a new command from the client up until the API setting the clock on while sending the command--use setTimerMark, getTimerMark, hostClockOnTime to calculate after a completed enter

 

totalUpdateToSendTime

Required. Total number of milliseconds over a minute's time spent processing sending results to the client following the completion of an enter to the host.-use setTimerMark, getTimerMark, hostClockOffTime to calculate after a completed enter

 

totalHostRoundTripTime

Required. Total number of milliseconds over a minute's time spent entering a screen to the host, subtract hostClockOnTime from hostClockOffTime after a completed enter

 

maxReceiveToHostTime

Required. Maximum number of milliseconds during the last minute time span spent processing a new command from the client up until the API setting the clock on while sending the command--use setTimerMark, getTimerMark, hostClockOnTime to calculate after a completed enter

 

maxUpdateToSendTime

Required. Maximum number of milliseconds during the last minute time span spent processing sending results to the client following the completion of an enter to the host.-use setTimerMark, getTimerMark, hostClockOffTime to calculate after a completed enter

 

maxHostRoundTripTime

Required. Maximum number of milliseconds during the last minute time span spent entering a screen to the host, subtract hostClockOnTime from hostClockOffTime after a completed enter

 

 

Remarks

 

This call is used by the FVTerm application to supply key performance data values to the FlyServer service to enable comprehensive monitoring of FVTerm to ensure adequate resources to support production workloads.  Other applications, such as a pure web service environment can supply similar statistics.

 

Requirements

 

Inventu Viewer+

 

See Also

 

setTimerMark | getTimerMark | hostClockOnTime | hostClockOffTime

 

Applies To: HostConnection object

 


© 2022 Inventu Corporation