Messages: Remove the DataIE place holder
Right now we always want to decode everything. If we end up with performance issues we might re-introduce this class.
This commit is contained in:
parent
afd83ce445
commit
78f8718004
31
Messages.st
31
Messages.st
|
@ -19,37 +19,6 @@ Object subclass: IEBase [
|
|||
]
|
||||
]
|
||||
|
||||
Object subclass: DataIE [
|
||||
| data |
|
||||
|
||||
<category: 'osmo-messages'>
|
||||
DataIE class >> initWith: aData [
|
||||
^ self new
|
||||
data: aData;
|
||||
yourself
|
||||
]
|
||||
|
||||
type [
|
||||
^ data at: 1
|
||||
]
|
||||
|
||||
type: aType [
|
||||
data at: 1 put: aType.
|
||||
]
|
||||
|
||||
data [
|
||||
^ data
|
||||
]
|
||||
|
||||
data: aData [
|
||||
data := aData.
|
||||
]
|
||||
|
||||
writeOn: aMsg [
|
||||
aMsg putByteArray: data.
|
||||
]
|
||||
]
|
||||
|
||||
Object subclass: IEMessage [
|
||||
<category: 'osmo-messages'>
|
||||
| ies type |
|
||||
|
|
Reference in New Issue