Messages: Rename IEBase variable to aIEBase to make room for a class
This commit is contained in:
parent
c214878730
commit
117b78df17
|
@ -41,11 +41,11 @@ Object subclass: IEMessage [
|
|||
yourself
|
||||
]
|
||||
|
||||
IEMessage class >> findIE: type with: data from: IEBase [
|
||||
IEMessage class >> findIE: type with: data from: aIEBase [
|
||||
"TODO: This needs to move some basic dispatch class"
|
||||
"Find the IE that handles the type specified"
|
||||
|
||||
IEBase allSubclassesDo: [:each |
|
||||
aIEBase allSubclassesDo: [:each |
|
||||
each elementId = type
|
||||
ifTrue: [
|
||||
^ each parseFrom: data.
|
||||
|
@ -55,7 +55,7 @@ Object subclass: IEMessage [
|
|||
^ Exception signal: 'Unsupported IE type: ', type asString.
|
||||
]
|
||||
|
||||
IEMessage class >> decode: aByteArray with: IEBase [
|
||||
IEMessage class >> decode: aByteArray with: aIEBase [
|
||||
| msg dat |
|
||||
msg := IEMessage initWith: (aByteArray at: 1).
|
||||
|
||||
|
@ -67,7 +67,7 @@ Object subclass: IEMessage [
|
|||
data := dat copyFrom: 1 to: 2 + size.
|
||||
dat := dat copyFrom: 3 + size.
|
||||
|
||||
msg addIe: (self findIE: type with: data from: IEBase).
|
||||
msg addIe: (self findIE: type with: data from: aIEBase).
|
||||
].
|
||||
|
||||
^ msg
|
||||
|
|
Reference in New Issue