smalltalk
/
osmo-st-mgcp
Archived
1
0
Fork 0

align: Align command and response handling

Make sure that both have a transactionId setter and getter
This commit is contained in:
Holger Hans Peter Freyther 2014-05-30 18:00:11 +02:00
parent 2b5089d84d
commit 2796b46a1f
2 changed files with 9 additions and 0 deletions

View File

@ -69,6 +69,10 @@ Object subclass: MGCPCommandBase [
transaction := anId.
]
transactionId [
^transaction
]
parameterAdd: aParam [
<category: 'private'>
^self error: 'This is deprecated. Use >>#addParameter:with:'

View File

@ -44,6 +44,11 @@ Object subclass: MGCPResponse [
]
transaction: aTrans [
<category: 'creation'>
self transactionId: aTrans
]
transactionId: aTrans [
<category: 'creation'>
transaction := aTrans.
]