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

callagent: Use symbols for the states to have them easily printable

This commit is contained in:
Holger Hans Peter Freyther 2011-06-25 18:09:59 +02:00
parent 889461ca7f
commit dac5de9a28
1 changed files with 5 additions and 5 deletions

View File

@ -22,11 +22,11 @@ Object subclass: SIPTransaction [
| useragent dialog state timeout success failure notification
cseq branch terminated start_time |
SIPTransaction class >> stateInitial [ ^ 0 ]
SIPTransaction class >> stateTrying [ ^ 1 ]
SIPTransaction class >> stateProceeding [ ^ 2 ]
SIPTransaction class >> stateCompleted [ ^ 3 ]
SIPTransaction class >> stateTerminated [ ^ 4 ]
SIPTransaction class >> stateInitial [ <category: 'states'> ^ #initial ]
SIPTransaction class >> stateTrying [ <category: 'states'> ^ #trying ]
SIPTransaction class >> stateProceeding [ <category: 'states'> ^ #proceeding ]
SIPTransaction class >> stateCompleted [ <category: 'states'> ^ #completed ]
SIPTransaction class >> stateTerminated [ <category: 'states'> ^ #terminated ]
SIPTransaction class >> createWith: aDialog on: aUA [
^ self new