1 package GSM::SMS::Transport::Transport;
5 # Abstract class defines the methods a transport interface must implement
6 ##########################################################################
12 my $class = ref($proto) || $proto;
21 # abstract method definitions
24 # Send a (PDU encoded) message
27 # Receive a PDU encoded message
28 # $ is a ref to a PDU string
31 # -1 if no message pending
37 # A ping command .. just return an informative string on success
40 # get_config_parameters ... return the config parameters I expect here.
41 sub get_config_parameters() {};
43 # can we send to the following number?
44 sub has_valid_route($) {};
50 GSM::SMS::Transport::Transport
52 Abstract class for the transport modules. Transport modules inherit from this class.
56 Johan Van den Brande <johan@vandenbrande.com>