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

NAME

Device::ISDN::OCLM::CurrentStatistics - OCLM current call statistics

SYNOPSIS

 $status = $lanmodem->getCurrentStatistics ();
 ...
 $info = $lanmodem->currentStatistics ();
 $sp = $info->spName (1);

DESCRIPTION

This class encapsulates 3com OCLM current call statistics, including call time, destination, 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 call number must be specified; this will be either 1 or 2.

$copy = $info->clone ()

This method returns a clone of this object.

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

This method returns the call type of the specified call or undef.

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

This method returns the call direction of the specified call or undef.

$sp = $info->spName ($index)

This method returns the service provider name or dial-in user of the specified call or undef.

$ip = $info->ipAddress ($index)

This method returns the IP address of the specified call or undef.

$dns = $info->primaryDNS ($index)

This method returns the primary DNS server of the specified call or undef.

$dns = $info->secondaryDNS ($index)

This method returns the secondary DNS server of the specified call or undef.

$opt = $info->callOptions ($index)

This method returns the call options of the specified call or undef.

$st = $info->startTime ($index)

This method returns the start time of the specified call or undef.

$ut = $info->upTime ($index)

This method returns the up time of the specified call or undef.

$it = $info->idleTime ($index)

This method returns the idle time of the specified call or undef.

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

This method returns the octets received on the specified call or undef.

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

This method returns the octets transmitted on the specified call or undef.

$num = $info->callingNumber ($index)

This method returns the calling number of the specified call or undef.

$num = $info->calledNumber ($index)

This method returns the called number of the specified call or undef.

$reason = $info->upReason ($index)

This method returns the reason for the specified call going up 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>