Device::ISDN::OCLM::CurrentStatistics - OCLM current call statistics
$status = $lanmodem->getCurrentStatistics (); ... $info = $lanmodem->currentStatistics (); $sp = $info->spName (1);
This class encapsulates 3com OCLM current call statistics, including call time, destination, etc.
This class is a subclass of Device::ISDN::OCLM::Statistics.
Extract instances of this class from Device::ISDN::OCLM::LanModem.
The following methods are provided: For most calls, a call number must be specified; this will be either 1 or 2.
This method returns a clone of this object.
This method returns the call type of the specified call or undef.
This method returns the call direction of the specified call or undef.
This method returns the service provider name or dial-in user of the specified call or undef.
This method returns the IP address of the specified call or undef.
This method returns the primary DNS server of the specified call or undef.
This method returns the secondary DNS server of the specified call or undef.
This method returns the call options of the specified call or undef.
This method returns the start time of the specified call or undef.
This method returns the up time of the specified call or undef.
This method returns the idle time of the specified call or undef.
This method returns the octets received on the specified call or undef.
This method returns the octets transmitted on the specified call or undef.
This method returns the calling number of the specified call or undef.
This method returns the called number of the specified call or undef.
This method returns the reason for the specified call going up or undef.
This method returns a textual representation of this object.
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.
Merlin Hughes <merlin@merlin.org>
To install Device::ISDN::OCLM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::ISDN::OCLM
CPAN shell
perl -MCPAN -e shell install Device::ISDN::OCLM
For more information on module installation, please visit the detailed CPAN module installation guide.