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

61 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 18c4ddfd7b misc: Ease porting and use "self basicNew initialize" for init
self basicNew initialize will work on Pharo and various versions
of GST and will make sure to call initialize exactly once.
2014-07-24 15:42:51 +02:00
Holger Hans Peter Freyther 15be4f4af2 sccp: Set the timer to nil to give up references
Help the garbage collector free memory more quickly by not
producing that many circles.
2014-03-14 17:59:30 +01:00
Holger Hans Peter Freyther 0c26b1e048 sccp: Be a bit more specific about the kind of failure 2014-03-14 15:11:54 +01:00
Holger Hans Peter Freyther b6f1033772 sccp: Be less verbose on failed parsing messages
We could signal a Notification with the message that could not
be parsed. The actual printNl with the message didn't work either.
2014-03-14 13:29:57 +01:00
Holger Hans Peter Freyther 129f45c879 misc: Fix the categories to ease porting to Pharo 2013-03-31 12:34:17 +02:00
Holger Hans Peter Freyther b386ac7d9d typo: Fix a typo in the log message 2012-12-01 18:17:36 +01:00
Holger Hans Peter Freyther f1b24c5237 sccp: Provide an event once the connection is confirmed 2012-10-21 15:31:20 +02:00
Holger Hans Peter Freyther 7510f4ad01 streams: Move the GSM48 code over to Streams 2012-03-25 22:33:56 +02:00
Holger Hans Peter Freyther 8bdb0be6dc streams: Switch BSSAP to use streams. 2012-03-25 21:50:02 +02:00
Holger Hans Peter Freyther 7b43f3eed2 streams: IEMessage is now working on streams all the way. 2012-03-25 18:52:54 +02:00
Holger Hans Peter Freyther 9300d93087 misc: Work on categories for the GSM classes 2011-09-27 17:31:49 +02:00
Holger Hans Peter Freyther bb35a0b1a6 sccp: Remove unused variable in the SCCPHandler
This appears to was meant to be used by the SCCP ref generation
2011-06-23 21:27:43 +02:00
Holger Hans Peter Freyther dc184dd1ac sccp: Improve the log messages and pick the SCCP(srcref:...) format 2011-06-22 20:21:47 +02:00
Holger Hans Peter Freyther ce92f7afd5 sccp: Only send the release by timer if not in release mode. 2011-06-22 20:18:51 +02:00
Holger Hans Peter Freyther b23662828c sccp: Specify which connection will be taken down 2011-06-22 19:43:22 +02:00
Holger Hans Peter Freyther cfae3fca95 sccp: Stop the t_int timer as well 2011-06-22 19:38:27 +02:00
Holger Hans Peter Freyther 15896e05e2 sccp: Implement SCCP IT sending and handling 2011-06-22 18:15:36 +02:00
Holger Hans Peter Freyther 8716b76293 sccp: Restart the T(iar), T(ias) on I/O. 2011-06-22 17:23:10 +02:00
Holger Hans Peter Freyther 95f4c07cc9 sccp: Attempt to add timeout handling to the SCCP Connection.
Rename SCCPConnectionBase to SCCPConnectionState and subclass
to add timer handling on top of the State. The IT sending is
not implemented properly yet.
2011-06-22 17:00:05 +02:00
Holger Hans Peter Freyther c374b1934d sccp: Make sure that data is dispatched with the lock
This will make sure that the lock will always be held.
2011-06-21 21:47:09 +02:00
Holger Hans Peter Freyther 99d66ec76d sccp: Confirm a connection before sending the data
If we don't do it like this, we dispatch the data which might
send a RLSD... which would be send before there is a CC.
2011-06-21 21:47:09 +02:00
Holger Hans Peter Freyther 0543c8622d sccp: Introduce a per SCCP connection lock
We need to deal with state changes from multiple Processes.
2011-06-21 21:47:09 +02:00
Holger Hans Peter Freyther dbea609d06 sccp: Reorder functions, document, explain what kind of locking is used 2011-06-21 21:47:07 +02:00
Holger Hans Peter Freyther eda5c4bd08 sccp: Move the state transition into a central place 2011-06-21 21:46:51 +02:00
Holger Hans Peter Freyther bd2acafc8e sccp: Introduce a new state for the initial state 2011-06-21 21:46:51 +02:00
Holger Hans Peter Freyther 8f526dea2d sccp: Log the exception using the logException target 2011-06-21 21:46:49 +02:00
Holger Hans Peter Freyther e3cc57ffcd sccp: Document the SCCPConnectionBase a bit better
Use proper categories, order the code according to the categories
2011-06-20 09:57:45 +02:00
Holger Hans Peter Freyther 9aa42d4969 sccp: Run each terminate in a block with exception recording. 2011-06-18 14:55:31 +02:00
Holger Hans Peter Freyther 19aee3e755 sccp: Introduce a method to remove all SCCP requests
E.g. when the underlying link has vanished we need to
clean things up. Trigger this here. This should go through
the normal termination cleanups.
2011-06-16 02:05:44 +02:00
Holger Hans Peter Freyther 61ed86368d sccp: Create a SCCPConnection on a handler, then open it
Change the way a SCCPConnection is created, this way the connection
only registers with the handler to get a srcRef generated and then
can open the connection.
2011-06-15 21:17:58 +02:00
Holger Hans Peter Freyther f4f6563254 sccp: Remove the blocking interface from the SCCP code. 2011-06-15 18:39:05 +02:00
Holger Hans Peter Freyther 687815f60f sccp: Make the initial dispatch based on overloading 2011-06-15 16:49:26 +02:00
Holger Hans Peter Freyther 20b808d3f0 sccp: Dispatch via the polymorphism of smalltalk 2011-06-15 16:44:54 +02:00
Holger Hans Peter Freyther c122f64835 sccp: Call a function on UDT messages
Allow to handle UDT messages by subclassing and reimplementing,
by default only log the UDT.
2011-05-18 23:37:17 +02:00
Holger Hans Peter Freyther d9b49ea151 sccp: Use the logging framework instead of printNl. 2010-12-17 22:07:45 +01:00
Holger Hans Peter Freyther 68d7daea8d sccp: Take the lock for the accessing of the connection list 2010-12-17 22:03:13 +01:00
Holger Hans Peter Freyther fcd14dd480 sccp: Assign the srcRef inside the add method
This is done to allow to have the lock taken in one
place only.
2010-12-17 21:53:53 +01:00
Holger Hans Peter Freyther b7e82ffb28 sccp: Prepare dealing with concurrency and locking. 2010-12-17 21:53:17 +01:00
Holger Hans Peter Freyther d85ae734ae sccp: Differentiate Released and ReleaseComplete 2010-12-16 21:25:18 +01:00
Holger Hans Peter Freyther 198eaba529 sccp: Work on accepting connections and releasing them. 2010-12-16 21:25:18 +01:00
Holger Hans Peter Freyther 912ff78f55 SCCPHandler: Make sure that we drain all messages. 2010-12-16 21:25:18 +01:00
Holger Hans Peter Freyther 3993a4307e SCCP: The message can be a MessageBuffer or a plain ByteArray. 2010-12-16 21:25:18 +01:00
Holger Hans Peter Freyther 1b56da9dfb License: Add AGPLv3 header to the code 2010-12-14 03:03:20 +01:00
Holger Hans Peter Freyther e7c0a15947 GSM: Reply with a GSM0808 Clear Complete to a Clear Command 2010-11-29 20:34:22 +01:00
Holger Hans Peter Freyther e73c39f5e1 GSM: Introduce the concept of a 'driver' and a procedure
The procedure holds the driver... everything is still very
vague and needs a better design.
2010-11-29 20:34:22 +01:00
Holger Hans Peter Freyther d3dcc6db1a SCCP: Assign a random SCCP Source Reference, try a lot of times 2010-11-29 20:34:22 +01:00
Holger Hans Peter Freyther 84414380e5 SCCPHandler: Rename variable to conManager 2010-11-29 20:34:22 +01:00
Holger Hans Peter Freyther 910952e21b SCCP: Implement a timeout for the SCCP Connection Confirm 2010-11-28 21:27:58 +01:00
Holger Hans Peter Freyther 300f9f470e SCCP: Work on dispatching the SCCP messages.. 2010-11-28 21:27:58 +01:00
Holger Hans Peter Freyther 360e5269b0 SCCP: Work on a proper dispatching of messages 2010-11-28 21:27:58 +01:00