|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.siprop.v2.stack.sip.transaction.impl.NonInviteClientTransaction
public class NonInviteClientTransaction
The state machine for Non-INVITE Client Transaction
According to RFC3261 Figure 6: non-INVITE client transaction
|Request from TU
|send request
Timer E V
send request +-----------+
+---------| |-------------------+
| | Trying | Timer F |
+-------->| | or Transport Err.|
+-----------+ inform TU |
200-699 | | |
resp. to TU | |1xx |
+---------------+ |resp. to TU |
| | |
| Timer E V Timer F |
| send req +-----------+ or Transport Err. |
| +---------| | inform TU |
| | |Proceeding |------------------>|
| +-------->| |-----+
| +-----------+ |1xx |
| | ˆ |resp to TU |
| 200-699 | +--------+ |
| resp. to TU | |
| | |
| V |
| +-----------+ |
| | | |
| | Completed | |
| | | |
| +-----------+ |
| ˆ | |
| | | Timer K |
+--------------+ | - |
| |
V |
NOTE: +-----------+ |
| | |
transitions | Terminated|<------------------+
labeled with | |
the event +-----------+
over the action
to take
| Constructor Summary | |
|---|---|
NonInviteClientTransaction(TransactionController parent,
boolean isReliable)
Constructor. |
|
| Method Summary | |
|---|---|
void |
doProcess(Context context)
Process transaction, if need. |
void |
fireTimer()
The timer is expired, then start expired process |
TransactionController |
getParentTransaction()
Get parent Transaction object of this entry |
TransactionInfo |
getTransactionInfo()
get TransactionInfo. |
TransactionState |
getTransactionState()
Get current transaction status |
TransactionType |
getTransactionType()
Get type of transaction |
boolean |
isTimerExpired(long currentTime)
Check the timer is expired or not. |
void |
onError()
An error is happend, then start error handling process |
void |
setTransactionInfo(TransactionInfo transactionInfo)
set TransactionInfo. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NonInviteClientTransaction(TransactionController parent,
boolean isReliable)
isReliable - Using reliable transport or not.| Method Detail |
|---|
public void doProcess(Context context)
TransactionEntry
doProcess in interface TransactionEntrypublic void fireTimer()
TransactionEntry
fireTimer in interface TransactionEntrypublic void onError()
TransactionEntry
onError in interface TransactionEntrypublic boolean isTimerExpired(long currentTime)
TransactionEntry
isTimerExpired in interface TransactionEntrycurrentTime - Current Time (msec)
public TransactionState getTransactionState()
TransactionEntry
getTransactionState in interface TransactionEntrypublic TransactionType getTransactionType()
TransactionEntry
getTransactionType in interface TransactionEntrypublic TransactionController getParentTransaction()
TransactionEntry
getParentTransaction in interface TransactionEntrypublic TransactionInfo getTransactionInfo()
TransactionEntry
getTransactionInfo in interface TransactionEntrypublic void setTransactionInfo(TransactionInfo transactionInfo)
TransactionEntry
setTransactionInfo in interface TransactionEntry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||