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


GSM-SMS documentation  | view source Contained in the GSM-SMS distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

METHODS

Top

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

ABSTRACT METHODS

Top

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

Top

Johan Van den Brande <johan@vandenbrande.com>


GSM-SMS documentation  | view source Contained in the GSM-SMS distribution.