diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-22 18:15:08 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-22 18:15:36 +0200 |
commit | 15896e05e2640fc6fc69fa8ff05e8a7224cc4488 (patch) | |
tree | 66bf180f80477018556040e3a29714871d57ab5c /SCCPHandler.st | |
parent | 8716b762930854ec0ed85e1542a1ebf88bce67fd (diff) |
sccp: Implement SCCP IT sending and handling
Diffstat (limited to 'SCCPHandler.st')
-rw-r--r-- | SCCPHandler.st | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/SCCPHandler.st b/SCCPHandler.st index b9ad7ac..4723b70 100644 --- a/SCCPHandler.st +++ b/SCCPHandler.st @@ -249,8 +249,13 @@ My timeout values can be seen in ITU Q.714 Annex C.4'> ] sendInactivty [ + | it | <category: 'confirm-timer'> - self logError: 'IT sending is not implemented.' area: #sccp. + + it := Osmo.SCCPInactivityTest initWithDst: self dstRef src: self srcRef. + sem critical: [ + self startTias. + self nextPut: it toMessage]. ] sendRelease [ @@ -405,6 +410,12 @@ Osmo.SCCPConnectionReleaseComplete extend [ ] ] +Osmo.SCCPInactivityTest extend [ + sccpHandlerDispatchOn: aCon [ + aCon critical: [aCon startTiar]. + ] +] + Object subclass: SCCPHandler [ | connections last_ref connection sem | <comment: 'I handle SCCP messages and have a complicated locking |