equal
deleted
inserted
replaced
120 { |
120 { |
121 MSRPLOG( "Entered createSubSessionL()" ); |
121 MSRPLOG( "Entered createSubSessionL()" ); |
122 |
122 |
123 /* First notify the Server so that connections can be started */ |
123 /* First notify the Server so that connections can be started */ |
124 iMSRPServer.CreatingSubSessionL( aMessage.Int0() ); |
124 iMSRPServer.CreatingSubSessionL( aMessage.Int0() ); |
125 |
125 TBuf8< KMaxLengthOfSessionId > messageId; |
126 CMSRPServerSubSession* subSession = CMSRPServerSubSession::NewL( *this, iMSRPServer.StateFactory()); |
126 aMessage.ReadL( 1, messageId ); |
|
127 |
|
128 CMSRPServerSubSession* subSession = CMSRPServerSubSession::NewL( |
|
129 *this, iMSRPServer.StateFactory(), messageId ); |
127 CleanupStack::PushL(subSession); |
130 CleanupStack::PushL(subSession); |
128 |
131 |
129 //check handle doesnt preexist or add current time to handle |
132 //check handle doesnt preexist or add current time to handle |
130 //generate new handle |
133 //generate new handle |
131 CMsrpHandleObj* handleObj = CMsrpHandleObj::NewL(subSession); |
134 CMsrpHandleObj* handleObj = CMsrpHandleObj::NewL(subSession); |
173 { |
176 { |
174 _LIT(KBadHandle,"Bad Handle"); |
177 _LIT(KBadHandle,"Bad Handle"); |
175 aMessage.Panic(KBadHandle,EBadSubsessionHandle); |
178 aMessage.Panic(KBadHandle,EBadSubsessionHandle); |
176 } |
179 } |
177 pHandleObj->Subsession()->ServiceL(aMessage); |
180 pHandleObj->Subsession()->ServiceL(aMessage); |
178 |
|
179 } |
181 } |
180 |
182 |
181 |
183 |
182 void CMSRPServerSession::WriteResponseL( const RMessage2& aMessage, |
184 void CMSRPServerSession::WriteResponseL( const RMessage2& aMessage, |
183 TServerClientResponses aResponseItem, |
185 TServerClientResponses aResponseItem, |