Move the SCCP code to a new method.
This commit is contained in:
parent
6ec4e192d3
commit
8033e18221
|
@ -0,0 +1,15 @@
|
|||
PackageLoader fileInPackage: 'OsmoNetwork'.
|
||||
|
||||
Object subclass: SCCPHadler [
|
||||
<comment: 'I handle SCCP messages'>
|
||||
|
||||
registerOn: aDispatcher [
|
||||
aDispatcher addHandler: Osmo.IPAConstants protocolSCCP
|
||||
on: self with: #handleMsg.
|
||||
]
|
||||
|
||||
handlerMsg: aMsg [
|
||||
'Got a new SCCP message' printNl.
|
||||
]
|
||||
]
|
||||
|
Reference in New Issue