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

Download:
GSM-SMS-0.163.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  0
View/Report Bugs
Module Version: 0.161   Source  

NAME ^

GSM::SMS::Transport::Transport - Base class for transports

DESCRIPTION ^

This class is a base class for all transports, i.e. all transports must inherit from this class.

METHODS ^

new - Constructor
has_valid_route - Do we have a valid route for this msisdn
        $transport->has_valid_route( $msisdn );

ABSTRACT METHODS ^

send - Send a (PDU encoded) message
receive - Receive a PDU encoded message
        $PDU = $transport->receive();
close - Close the transport
ping - return an informative string on success
get_info - Returns info on the transport
DESTROY - The destructor

AUTHOR ^

Johan Van den Brande <johan@vandenbrande.com>

syntax highlighting: