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:
parent
97710b0291
commit
c122f64835
|
@ -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.
|
||||
|
|
Reference in New Issue