|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
#include <SIPExStateConnecting.h>
Inheritance diagram for TSIPExStateConnecting:

Public Member Functions | |
| virtual void | SocketState (CSIPExEngine *aContext, TInt aNewState) |
| virtual void | EndGameL (CSIPExEngine *aContext) |
Definition at line 27 of file SIPExStateConnecting.h.
|
||||||||||||
|
From TSIPExState Reimplemented from TSIPExState. Definition at line 31 of file SIPExStateConnecting.cpp. References TSIPExState::ChangeState(), CSIPExEngine::InfoL(), and CSIPExEngine::iStateRegistered. 00034 { 00035 switch (aNewState) 00036 { 00037 case CSIPExSocketEngine::ENotConnected: 00038 ChangeState( aContext, aContext->iStateRegistered ); 00039 aContext->InfoL( KNotConnected() ); 00040 break; 00041 case CSIPExSocketEngine::EConnected: 00042 if( aContext->Peer() == CSIPExEngine::EClient ) 00043 { 00044 aContext->ResetGame(); 00045 ChangeState( aContext, aContext->iStateLocal ); 00046 aContext->StatusInfoL( KYourMove() ); 00047 aContext->InfoL( KConnected() ); 00048 } 00049 break; 00050 case CSIPExSocketEngine::ETimedOut: 00051 ChangeState( aContext, aContext->iStateRegistered ); 00052 aContext->InfoL( KTimedOut() ); 00053 break; 00054 default: 00055 break; 00056 } 00057 }
|
|
|
From TSIPExState Reimplemented from TSIPExState. Definition at line 64 of file SIPExStateConnecting.cpp. References CSIPExSIPEngine::EndSessionL(), and CSIPExEngine::SIPEngine(). 00065 { 00066 aContext->SIPEngine()->EndSessionL(); 00067 }
|
|
© Nokia 2006 |