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

Public Member Functions | |
| virtual void | SocketState (CSIPExEngine *, TInt) |
| virtual void | EndGameL (CSIPExEngine *aContext) |
| virtual void | InvitationCancelled (CSIPExEngine *aContext) |
Definition at line 27 of file SIPExStateAcceptingSIP.h.
|
||||||||||||
|
SocketState From TSIPExState Reimplemented from TSIPExState. Definition at line 29 of file SIPExStateAcceptingSIP.cpp. References TSIPExState::ChangeState(), CSIPExEngine::iStateRegistered, and CSIPExEngine::SetPeer(). 00032 { 00033 aContext->SetPeer( CSIPExEngine::EServer ); 00034 switch (aNewState) 00035 { 00036 case CSIPExSocketEngine::ENotConnected: 00037 ChangeState( aContext, aContext->iStateRegistered ); 00038 aContext->InfoL( KNotConnected() ); 00039 break; 00040 case CSIPExSocketEngine::EConnected: 00041 aContext->ResetGame(); 00042 ChangeState( aContext, aContext->iStateRemote ); 00043 aContext->StatusInfoL( KWaitingRemote() ); 00044 aContext->InfoL( KConnected() ); 00045 break; 00046 00047 case CSIPExSocketEngine::ETimedOut: 00048 ChangeState( aContext, aContext->iStateRegistered ); 00049 aContext->InfoL( KTimedOut() ); 00050 break; 00051 default: 00052 break; 00053 } 00054 }
|
|
|
SocketState From TSIPExState Reimplemented from TSIPExState. Definition at line 62 of file SIPExStateAcceptingSIP.cpp. References CSIPExSIPEngine::EndSessionL(), and CSIPExEngine::SIPEngine(). 00063 { 00064 aContext->SIPEngine()->EndSessionL(); 00065 }
|
|
|
InvitationCancelled From TSIPExState Reimplemented from TSIPExState. Definition at line 73 of file SIPExStateAcceptingSIP.cpp. References TSIPExState::ChangeState(), CSIPExEngine::DestroySocketEngine(), CSIPExEngine::iStateRegistered, CSIPExEngine::SocketEngineL(), and CSIPExSocketEngine::Stop(). 00074 { 00075 ChangeState( aContext, aContext->iStateRegistered ); 00076 TRAPD( ignore, aContext->SocketEngineL()->Stop() ); 00077 aContext->DestroySocketEngine(); 00078 }
|
|
© Nokia 2006 |