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

GSM48: Move the GSM48 methods to this new file.

This commit is contained in:
Holger Hans Peter Freyther 2010-11-17 16:56:10 +01:00
parent f236686e22
commit f8b0fa8e82
3 changed files with 43 additions and 40 deletions

40
GSM48.st Normal file
View File

@ -0,0 +1,40 @@
"Messages for GSM04.08"
Object subclass: LocationUpdatingRequest [
| imsi tmsi |
LocationUpdatingRequest class >> initWithIMSI: aImsi [
^ (self new)
imsi: aImsi;
yourself
]
LocationUpdatingRequest class >> initWithTMSI: aTmsi [
^ (self new)
tmsi: aTmsi;
yourself
]
toMessage [
]
]
Object subclass: LocationUpdatingAccept [
toMessage [
]
]
Object subclass: LocationUpdatingReject [
toMessage [
]
]
Object subclass: IdentityRequest [
toMessage [
]
]
Object subclass: IdentityResponse [
toMessage [
]
]

View File

@ -1,5 +1,4 @@
"Messages for GSM04.08"
"General IE based message handling"
Object subclass: IEMessage [
| ies type |
@ -33,41 +32,3 @@ Object subclass: IEMessage [
]
Object subclass: LocationUpdatingRequest [
| imsi tmsi |
LocationUpdatingRequest class >> initWithIMSI: aImsi [
^ (self new)
imsi: aImsi;
yourself
]
LocationUpdatingRequest class >> initWithTMSI: aTmsi [
^ (self new)
tmsi: aTmsi;
yourself
]
toMessage [
]
]
Object subclass: LocationUpdatingAccept [
toMessage [
]
]
Object subclass: LocationUpdatingReject [
toMessage [
]
]
Object subclass: IdentityRequest [
toMessage [
]
]
Object subclass: IdentityResponse [
toMessage [
]
]

View File

@ -5,6 +5,7 @@
<prereq>OsmoLogging</prereq>
<filein>BSSMAP.st</filein>
<filein>GSM48.st</filein>
<filein>Messages.st</filein>
<filein>SCCPHandler.st</filein>
<filein>TestPhone.st</filein>
@ -17,6 +18,7 @@
<file>BSSMAP.st</file>
<file>Messages.st</file>
<file>SCCPHandler.st</file>
<file>GSM48.st</file>
<file>TestPhone.st</file>
<file>Tests.st</file>
</package>