align: Align command and response handling
Make sure that both have a transactionId setter and getter
This commit is contained in:
parent
2b5089d84d
commit
2796b46a1f
|
@ -69,6 +69,10 @@ Object subclass: MGCPCommandBase [
|
|||
transaction := anId.
|
||||
]
|
||||
|
||||
transactionId [
|
||||
^transaction
|
||||
]
|
||||
|
||||
parameterAdd: aParam [
|
||||
<category: 'private'>
|
||||
^self error: 'This is deprecated. Use >>#addParameter:with:'
|
||||
|
|
|
@ -44,6 +44,11 @@ Object subclass: MGCPResponse [
|
|||
]
|
||||
|
||||
transaction: aTrans [
|
||||
<category: 'creation'>
|
||||
self transactionId: aTrans
|
||||
]
|
||||
|
||||
transactionId: aTrans [
|
||||
<category: 'creation'>
|
||||
transaction := aTrans.
|
||||
]
|
||||
|
|
Reference in New Issue