SCCP: Find the Complete Layer3 and decode it.
This commit is contained in:
parent
8e68c2bc20
commit
f3c62fe6dd
12
Messages.st
12
Messages.st
|
@ -108,6 +108,18 @@ Object subclass: IEMessage [
|
|||
^ block value.
|
||||
]
|
||||
|
||||
findIE: type ifPresent: block [
|
||||
"Find the IE with the type"
|
||||
self ies do: [:each |
|
||||
each type = type
|
||||
ifTrue: [
|
||||
^ block value: each
|
||||
].
|
||||
].
|
||||
|
||||
^ nil.
|
||||
]
|
||||
|
||||
writeOn: aMsg [
|
||||
<category: 'creation'>
|
||||
aMsg putByte: type.
|
||||
|
|
Reference in New Issue