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

Move the SCCP code to a new method.

This commit is contained in:
Holger Hans Peter Freyther 2010-11-14 22:43:29 +01:00
parent 6ec4e192d3
commit 8033e18221
1 changed files with 15 additions and 0 deletions

15
SCCPHandler.st Normal file
View File

@ -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.
]
]