NAME
GSM::SMS::Transport::File - Dump PDU strings to files
DESCRIPTION
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
- 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
Johan Van den Brande <johan@vandenbrande.com>