PreviousDTO Programmer's Guide (9.1 revision 1) Next

DtoProtocolStat Object

Show this topic in Library frames

Provides information about a communications protocol.

Properties

CurRemoteSessions
Returns the number of queued requests for a session or protocol.
PeakRemoteSessions
Returns the highest number of remote sessions for a session or protocol.
ProtocolID
Returns the ID of a protocol.
RequestsProcessed
Returns the total number of requests processed for a session or protocol.

Methods

None

Remarks

To access a particular protocol using this object, you must first obtain a DtoProtocolStats Collection using the DtoMonitor Object and the DtoCommStat Object

All the properties for this object return values of type Long integer.

Examples

To obtain the number of requests processed using this protocol:

num_requests = Object.RequestsProcessed 

To obtain the current number of remote sessions:

RemoteSess_count = Object.CurRemoteSessions

See Also

DtoProtocolStats Collection
DtoCommStat Object
DtoMonitor Object


Chapter contents
Publication contents

Prev topic: DtoProtocolStats Collection
Next topic: DtoSqlClients Collection