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

sccp: Call a function on UDT messages

Allow to handle UDT messages by subclassing and reimplementing,
by default only log the UDT.
This commit is contained in:
Holger Hans Peter Freyther 2011-05-18 23:37:17 +02:00
parent 97710b0291
commit c122f64835
1 changed files with 9 additions and 0 deletions

View File

@ -328,9 +328,18 @@ Object subclass: SCCPHandler [
^ true
].
(sccp isKindOf: Osmo.SCCPUDT) ifTrue: [
self handleUDT: sccp.
^ true
].
self dispatchMessage: sccp.
]
handleUDT: aSCCP [
self logNotice: 'Incomind UDT message' area: #sccp.
]
connection: aConnection [
connection := aConnection.