
Asterisk::LCR::Comparer - Generic Route Comparer for Asterisk::LCR

This is a generic class for any Comparer object. Asterisk::LCR::Comparer objects must implement the sortme() method for it to function properly.

none.

Turns $rate into a 1/1, base currency rate.
This method needs to be implemented by subclasses.
Should:
Returns 1 if both objects are equal, 0 otherwise.
Returns 1 if both objects are not equal, 0 otherwise.
Returns 1 if $object1 is strictly greater than $object2, 0 otherwise.
Returns 1 if $object1 is greater or equals than $object2, 0 otherwise.
Returns 1 if $object1 is strictly smaller than $object2, 0 otherwise.
Returns 1 if $object1 is smaller or equals than $object2, 0 otherwise.