Johan Van den Brande > GSM-SMS > GSM::SMS::TransportRouter::TransportRouter

Download:
GSM-SMS-0.163.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  0
View/Report Bugs
Source  

NAME ^

GSM::SMS::TransportRouter::TransportRouter - Abstract router class

DESCRIPTION ^

An abstract TransportRouter base class. All concrete transport routers must inherit from this class.

METHODS ^

new - constructor
route - the actual router method
  $route = $tr->route( $msisdn, @transport_list );

  Return 'undef' when no route found.

  ABSTRACT METHOD - needs to be implemented.
get_transport

When an explicit transport has been given to the constructor, we'll only try to route through this transport. This method can be used to get the name of that specific transport.

AUTHOR ^

Johan Van den Brande <johan@vandenbrande.com>

syntax highlighting: