equal
deleted
inserted
replaced
92 if(iStatus == KErrNone) |
92 if(iStatus == KErrNone) |
93 { |
93 { |
94 if(iServerInterface.GetListenProgress()) |
94 if(iServerInterface.GetListenProgress()) |
95 { |
95 { |
96 //handle listen progress |
96 //handle listen progress |
97 iSessionImpl.ReceiveProgress(iServerInterface.GetBytesReceived(), iServerInterface.GetTotalBytesReceived()); |
97 iSessionImpl.ReceiveProgress( iServerInterface.ListenMessageId(), iServerInterface.GetBytesReceived(), iServerInterface.GetTotalBytesReceived()); |
98 } |
98 } |
99 else |
99 else |
100 { |
100 { |
101 // Handle incoming message by reading it from server interface |
101 // Handle incoming message by reading it from server interface |
102 iSessionImpl.HandleIncomingMessageL( iServerInterface.GetReceivedMessage( ), |
102 iSessionImpl.HandleIncomingMessageL( iServerInterface.GetReceivedMessage( ), |
118 |
118 |
119 void CMSRPIncomingListener::DoCancel() |
119 void CMSRPIncomingListener::DoCancel() |
120 { |
120 { |
121 if ( IsActive() ) |
121 if ( IsActive() ) |
122 { |
122 { |
123 iServerInterface.CancelReceiving(); |
123 TBuf8<1> empty; // cancel all |
|
124 iServerInterface.CancelReceiving( empty ); |
124 } |
125 } |
125 |
|
126 } |
126 } |