Session Quotas - Colubris Networks CN3000 Administrator's Manual

Table of Contents

Advertisement

Chapter 6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Customizing the public access interface - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Chapter 6
TruncateSessionRemainingTime(unit)
Returns the total amount of connection time remaining for the current customer
truncated to the specified unit. See TruncateMaxSession time for details.
GetMaxSessionIdleTime()
Returns the total amount of idle time configured for the current customer session.
GetSessionIdleTime()
Returns the amount of time the current session has been idle.
GetSessionInputPackets()
Returns the number of packets received by the current customer session.
GetSessionInputOctets(div)
Returns the number of octets received by the current customer session.
If you specify a value for the optional parameter div, then the return value is the number
of octets divided by div .
GetSessionOutputPackets()
Returns the number of packets sent by the current customer session.
GetSessionOutputOctets(div)
Returns the number of octets sent by the current customer session.
If you specify a value for the optional parameter div, then the return value is the number
of octets divided by div .

Session quotas

These functions let you retrieve the quota limits that are set for the current customer
session. If any of these limits are reached, the customer is logged out. For details see
"Quotas" on page
GetSessionRemainingInputPackets()
Returns the number of incoming packets the current customer session can still receive.
This value is a decimal string (10 characters) representing a 32-bit unsigned integer.
GetSessionRemainingInputOctets(div)
Returns the number of incoming octets the current customer session can still receive.
This value is a decimal string (20 characters) representing a 64-bit unsigned integer.
If you specify a value for the optional parameter div, then the return value is the number
of octets divided by div .
GetSessionRemainingOutputPackets()
Returns the maximum number of outgoing packets the current customer session can
still send. This value is a decimal (10 characters) string representing a 32-bit unsigned
integer.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 133 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
169.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents