The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Device::ISDN::OCLM::SPStatistics - OCLM service provider statistics

SYNOPSIS

 $status = $lanmodem->getSPStatistics ();
 ...
 $info = $lanmodem->spStatistics ();
 $sp = $info->providerName (1);

DESCRIPTION

This class encapsulates 3com OCLM service provider statistics, including total call time, failures, etc.

This class is a subclass of Device::ISDN::OCLM::Statistics.

CONSTRUCTORS

Extract instances of this class from Device::ISDN::OCLM::LanModem.

METHODS

The following methods are provided: For most calls, a provider index must be specified; this should probably range from 1 through 5.

$copy = $info->clone ()

This method returns a clone of this object.

$type = $info->providerName ($index)

This method returns the name of the specified provider or undef.

$dir = $info->successes ($index)

This method returns the number of successful connections to the specified provider or undef.

$dir = $info->failures ($index)

This method returns the number of failed connections to the specified provider or undef.

$dir = $info->octetsReceived ($index)

This method returns the number of octets received from the specified provider or undef.

$dir = $info->octetsTransmitted ($index)

This method returns the number of octets transmitted to the specified provider or undef.

$dir = $info->connectTime ($index)

This method returns the total connect time with the specified provider or undef.

$str = $info->toString ()

This method returns a textual representation of this object.

COPYRIGHT

Copyright 1999-2000 Merlin Hughes.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Merlin Hughes <merlin@merlin.org>