contentmgmt/referencedrmagent/RefTestAgent/streamingrefagent/source/server/sraserver.cpp
equal
deleted
inserted
replaced
59 { |
59 { |
60 __ASSERT_DEBUG(iSessionCount == 0, PanicServer(EOutstandingSessions)); |
60 __ASSERT_DEBUG(iSessionCount == 0, PanicServer(EOutstandingSessions)); |
61 |
61 |
62 delete iShutdownTimer; |
62 delete iShutdownTimer; |
63 iFs.Close(); |
63 iFs.Close(); |
|
64 #ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY |
64 SdpCodecStringPool::Close(); |
65 SdpCodecStringPool::Close(); |
|
66 #endif |
65 } |
67 } |
66 |
68 |
67 |
69 |
68 CSraServer* CSraServer::NewLC() |
70 CSraServer* CSraServer::NewLC() |
69 { |
71 { |
77 void CSraServer::ConstructL() |
79 void CSraServer::ConstructL() |
78 { |
80 { |
79 User::LeaveIfError(iFs.Connect()); |
81 User::LeaveIfError(iFs.Connect()); |
80 User::LeaveIfError(iFs.ShareProtected()); |
82 User::LeaveIfError(iFs.ShareProtected()); |
81 User::LeaveIfError(iFs.CreatePrivatePath(iFs.GetSystemDrive())); |
83 User::LeaveIfError(iFs.CreatePrivatePath(iFs.GetSystemDrive())); |
|
84 #ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY |
82 SdpCodecStringPool::OpenL(); |
85 SdpCodecStringPool::OpenL(); |
|
86 #endif |
83 StartL(KSraName); |
87 StartL(KSraName); |
84 iShutdownTimer = CShutdownTimer::NewL(KSraShutdownPeriod); |
88 iShutdownTimer = CShutdownTimer::NewL(KSraShutdownPeriod); |
85 iShutdownTimer->Restart(); |
89 iShutdownTimer->Restart(); |
86 } |
90 } |
87 |
91 |