GSM48: Move the class below the SimpelData definition
This commit is contained in:
parent
1bc0b1e49d
commit
d16e674f22
66
GSM48.st
66
GSM48.st
|
@ -232,39 +232,6 @@ GSM48IE subclass: GSM48MIdentity [
|
|||
]
|
||||
]
|
||||
|
||||
GSM48IE subclass: GSM48RejectCause [
|
||||
| cause |
|
||||
|
||||
GSM48RejectCause class >> createDefault [
|
||||
<category: 'creation'>
|
||||
^ self new
|
||||
cause: 11;
|
||||
yourself.
|
||||
]
|
||||
|
||||
GSM48RejectCause class >> length: aByteArray [
|
||||
^ 1
|
||||
]
|
||||
|
||||
GSM48RejectCause class >> parseFrom: aByteArray [
|
||||
^ self new
|
||||
cause: (aByteArray at: 1);
|
||||
yourself
|
||||
]
|
||||
|
||||
cause [
|
||||
^ cause
|
||||
]
|
||||
|
||||
cause: aCause [
|
||||
cause := aCause.
|
||||
]
|
||||
|
||||
writeOnDirect: aMsg [
|
||||
aMsg putByte: cause.
|
||||
]
|
||||
]
|
||||
|
||||
GSM48IE subclass: GSM48SimpleData [
|
||||
| data |
|
||||
|
||||
|
@ -326,6 +293,39 @@ GSM48IE subclass: GSM48SimpleData [
|
|||
]
|
||||
]
|
||||
|
||||
GSM48IE subclass: GSM48RejectCause [
|
||||
| cause |
|
||||
|
||||
GSM48RejectCause class >> createDefault [
|
||||
<category: 'creation'>
|
||||
^ self new
|
||||
cause: 11;
|
||||
yourself.
|
||||
]
|
||||
|
||||
GSM48RejectCause class >> length: aByteArray [
|
||||
^ 1
|
||||
]
|
||||
|
||||
GSM48RejectCause class >> parseFrom: aByteArray [
|
||||
^ self new
|
||||
cause: (aByteArray at: 1);
|
||||
yourself
|
||||
]
|
||||
|
||||
cause [
|
||||
^ cause
|
||||
]
|
||||
|
||||
cause: aCause [
|
||||
cause := aCause.
|
||||
]
|
||||
|
||||
writeOnDirect: aMsg [
|
||||
aMsg putByte: cause.
|
||||
]
|
||||
]
|
||||
|
||||
GSM48SimpleData subclass: GSM48AuthRand [
|
||||
<category: 'osmo-meesage'>
|
||||
<comment: 'I represent the 10.5.3.1 Authentication parameter RAND'>
|
||||
|
|
Reference in New Issue