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>