smalltalk
/
osmo-st-smpp
Archived
1
0
Fork 0
Commit Graph

23 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 22f907bf63 smpp: Add setter to SMPPDeliverySM and introduce SMPPCommand
The setters were developed under Pharo (what a breeze!) and the
final SMPPConnection changes were done using GNU Smalltalk.
2014-07-21 10:13:20 +02:00
Holger Hans Peter Freyther d22a3e248a smpp: Begin with DeliverSM codec handling
DeliverSM is very similar to SubmitSM but some of the optional
items are missing.
2014-07-19 19:27:14 +02:00
Holger Hans Peter Freyther 47cbd9c5b1 misc: Add proper categories to all classes
In preparation to the pharo port add proper categories.
2014-07-15 13:45:25 +02:00
Holger Hans Peter Freyther de471382a4 codec: Implement parsing trx bind resp and fix optional parsing 2014-06-17 19:21:34 +02:00
Holger Hans Peter Freyther 2008f19ac1 codec: Fix typo 2014-06-17 19:10:36 +02:00
Holger Hans Peter Freyther ca7c90b83f codec: Refer to the right variable name
Too much tab completion for the other project I spend time with
2014-06-17 19:02:35 +02:00
Holger Hans Peter Freyther eacd66d90a codec: Fix the error message and print the real commandId 2014-06-17 18:49:48 +02:00
Holger Hans Peter Freyther 7bee831b63 codec: Deal with Sockets.StreamSocket returning a String 2014-06-17 18:35:59 +02:00
Holger Hans Peter Freyther c6065ab122 codec: Cosmetic removal of an empty line 2014-06-17 18:35:46 +02:00
Holger Hans Peter Freyther 4ce889fd26 codec: Allow to set these attributes 2014-06-17 18:35:29 +02:00
Holger Hans Peter Freyther fbc0861df9 submit: Implement round-trip handling
Fix the variable name and test round-trip handling.
2014-05-13 19:12:16 +02:00
Holger Hans Peter Freyther 9f539f1c13 submit: Implement parsing of the submit SM message
Not all attribute classes have all the attributes specified. The
SMPPValueHolder routines for parsing/writing were not tested/executed
and might contain issues. The sm_length/short_message was combined
into a single attribute as it is more like a LV. The question if
the >>readFrom:with: should read the length or not is something that
keeps on coming up. I need to have a more sane way of handling that.
2014-05-13 17:35:48 +02:00
Holger Hans Peter Freyther efb09d0f74 smpp: Implement the unbind message type 2014-05-13 05:02:51 +02:00
Holger Hans Peter Freyther f4d03c969e smpp: Implement parsing of SMPPGenericNack 2014-05-13 05:00:49 +02:00
Holger Hans Peter Freyther ccdb0f5207 smpp: Be able to parse the SMPP Enquire Link 2014-05-13 04:47:00 +02:00
Holger Hans Peter Freyther c2968fbc7e smpp: Be able to parse the SMPP Bind Transceiver message 2014-05-13 04:45:31 +02:00
Holger Hans Peter Freyther 6cec697656 write: Implement write for the attributes and the body
This will decode and re-create the message. It is the first
round-trip test.
2014-05-13 04:25:25 +02:00
Holger Hans Peter Freyther 1e181e67e6 attr: Introduce a 'int' base class for SMPP
In SMPPv3.4 there are integers with different amounts of bytes.
Let's create a base class that helps with reading them right. Right
now only one byte numbers are supported but that can be changed
in the future.
2014-05-13 04:09:05 +02:00
Holger Hans Peter Freyther 07319cd1aa bind: Add getters and extend the testcase of reading the message 2014-05-12 10:03:23 +02:00
Holger Hans Peter Freyther 5ec92351f5 body: Implement parsing of the body 2014-05-12 10:03:23 +02:00
Holger Hans Peter Freyther a2a6bbc690 msg: Introduce a message class that contains header and body 2014-05-12 10:03:23 +02:00
Holger Hans Peter Freyther fea5159aa7 header: Implement writing a header to a stream 2014-05-12 10:03:23 +02:00
Holger Hans Peter Freyther 38bca78f5b Begin with OsmoSMPP a small SMPP codec library for Smalltalk 2014-04-24 20:25:36 +02:00