75 /** |
76 /** |
76 * Finds a connection method instance that belongs to this session and |
77 * Finds a connection method instance that belongs to this session and |
77 * matches the provided ID. Return NULL if no match is found. |
78 * matches the provided ID. Return NULL if no match is found. |
78 */ |
79 */ |
79 CCmmConnMethodInstance* FindConnMethodInstanceById( |
80 CCmmConnMethodInstance* FindConnMethodInstanceById( |
80 const TUint32& aConnMethodId ); |
81 const TUint32 aConnMethodId ); |
81 |
82 |
82 /** |
83 /** |
83 * Finds a destination instance that belongs to this session and matches |
84 * Finds a destination instance that belongs to this session and matches |
84 * the provided handle. |
85 * the provided handle. |
85 */ |
86 */ |
86 CCmmDestinationInstance* FindDestinationInstanceByHandleL( |
87 CCmmDestinationInstance* FindDestinationInstanceByHandleL( |
87 const TInt& aDestinationHandle ); |
88 const TInt aDestinationHandle ); |
88 |
89 |
89 /** |
90 /** |
90 * Finds a destination instance that belongs to this session and matches |
91 * Finds a destination instance that belongs to this session and matches |
91 * the provided ID. Return NULL if no match is found. |
92 * the provided ID. Return NULL if no match is found. |
92 */ |
93 */ |
93 CCmmDestinationInstance* FindDestinationInstanceById( |
94 CCmmDestinationInstance* FindDestinationInstanceById( |
94 const TUint32& aDestinationId ); |
95 const TUint32 aDestinationId ); |
95 |
96 |
96 /** |
97 /** |
97 * Check from all open destination handles in this session if the given |
98 * Check from all open destination handles in this session if the given |
98 * connection method is inside any of them. The given destination is |
99 * connection method is inside any of them. The given destination is |
99 * skipped. |
100 * skipped. |
100 */ |
101 */ |
101 TBool ConnMethodInOtherDestination( |
102 TBool ConnMethodInOtherDestination( |
102 const TUint32& aConnMethodId, |
103 const TUint32 aConnMethodId, |
103 const TUint32& aDestinationId ); |
104 const TUint32 aDestinationId ); |
104 |
105 |
105 /** |
106 /** |
106 * Check for restrictions for adding an embedded destination from destination |
107 * Check for restrictions for adding an embedded destination from destination |
107 * instances of all clients. |
108 * instances of all clients. |
108 * @param aDestinationId The ID of the destination where a destination is |
109 * @param aDestinationId The ID of the destination where a destination is |
109 * beeing embedded. |
110 * beeing embedded. |
110 * @param aEmbeddedDestinationId The ID of the destination that is beeing |
111 * @param aEmbeddedDestinationId The ID of the destination that is beeing |
111 * embedded. |
112 * embedded. |
112 */ |
113 */ |
113 TBool EmbeddedDestinationConflictsFromAllSessions( |
114 TBool EmbeddedDestinationConflictsFromAllSessions( |
114 const TUint32& aDestinationId, |
115 const TUint32 aDestinationId, |
115 const TUint32& aEmbeddedDestinationId ); |
116 const TUint32 aEmbeddedDestinationId ); |
116 |
117 |
117 /** |
118 /** |
118 * Check for restrictions for adding an embedded destination from destination |
119 * Check for restrictions for adding an embedded destination from destination |
119 * instances of this session. |
120 * instances of this session. |
120 * @param aDestinationId The ID of the destination where a destination is |
121 * @param aDestinationId The ID of the destination where a destination is |
121 * beeing embedded. |
122 * beeing embedded. |
122 * @param aEmbeddedDestinationId The ID of the destination that is beeing |
123 * @param aEmbeddedDestinationId The ID of the destination that is beeing |
123 * embedded. |
124 * embedded. |
124 */ |
125 */ |
125 TBool EmbeddedDestinationConflicts( |
126 TBool EmbeddedDestinationConflicts( |
126 const TUint32& aDestinationId, |
127 const TUint32 aDestinationId, |
127 const TUint32& aEmbeddedDestinationId ); |
128 const TUint32 aEmbeddedDestinationId ); |
128 |
129 |
129 /** |
130 /** |
130 * After update to database, refresh temporary ID to real ID if necessary |
131 * After update to database, refresh temporary ID to real ID if necessary |
131 * and refresh status information for any related handles for all client |
132 * and refresh status information for any related handles for all client |
132 * sessions. |
133 * sessions. |