GSM::SMS::Transport::File - Dump PDU strings to files


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

Index


NAME

Top

GSM::SMS::Transport::File - Dump PDU strings to files

DESCRIPTION

Top

Dump PDU strings to a file. Can be used as a debugging means, to catch PDU messages or used with a pickup daemon that reads outgoing messages from a directory.

All outgoing SMS messages are dumped in a unique file in a specified directory.

METHODS

Top

new - Constructor
  my $tfile = GSMS::SMS::Transport::File->new(
    -name => $name_of_transport,
    -match => $matching_regex_for_allowed_msisdn,
    -out_directory => $file_to_dump_PDU_to
  );

send - Send a PDU message
receive - Receive a PDU encoded message
init - Initialise transport
close - Close the transport
ping - A ping command ... just return an informative string
get_info - Give some info about this transport

AUTHOR

Top

Johan Van den Brande <johan@vandenbrande.com>


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