45 */ |
45 */ |
46 TInt sendRequest(SmfRequestTypeID requestType); |
46 TInt sendRequest(SmfRequestTypeID requestType); |
47 void Close(){}; |
47 void Close(){}; |
48 bool isConnected(); |
48 bool isConnected(); |
49 bool connected; |
49 bool connected; |
|
50 /** |
|
51 * Sends async request to the Smf server |
|
52 * @param aSerializedData Serialized data to be sent to the server. |
|
53 * Consists of provider Info(SmfProvider*)+ Other common class data |
|
54 * (when applicable)-serialized |
|
55 * @param aInterfaceName Name of the interface |
|
56 * @param aStatus TRequestStatus |
|
57 * @param maxSize Size of the data to be allocated. This info is sent to the server |
|
58 * @param aXtraInfo When xtra common data class instances to be passed other than SmfProvider |
|
59 * so that it can allocate this much of memory. |
|
60 */ |
50 void sendAsyncRequest(QByteArray& aSerializedData, |
61 void sendAsyncRequest(QByteArray& aSerializedData, |
51 QString aInterfaceName, |
62 QString aInterfaceName, |
52 SmfRequestTypeID aRequestType, |
63 SmfRequestTypeID aRequestType, |
53 TRequestStatus& aStatus); |
64 TRequestStatus& aStatus, |
|
65 TInt aMaxAllocation, |
|
66 QByteArray aXtraInfo=QByteArray()); |
54 /** |
67 /** |
55 * This for getservices only |
68 * Sends sync request to the Smf server |
56 */ |
69 */ |
57 TPtr8 sendSyncRequest(QString aInterfaceName, |
70 TPtr8 sendSyncRequest(QString aInterfaceName, |
58 SmfRequestTypeID aRequestType); |
71 SmfRequestTypeID aRequestType, |
|
72 TInt maxSize=0); |
|
73 /** |
|
74 * Sends DSM related sync request to the Smf server |
|
75 */ |
|
76 TPtr8 sendDSMSyncRequest(SmfRequestTypeID aRequestType, |
|
77 QByteArray& aSerializedData, |
|
78 SmfError aErr, |
|
79 TInt maxSize=0); |
59 void writeLog(QString log) const; |
80 void writeLog(QString log) const; |
60 /** |
81 /** |
61 * Returns data,used to return back the data received from server |
82 * Returns data,used to return back the data received from server |
62 */ |
83 */ |
63 TPtr8 getData() |
84 TPtr8 getData() |
73 */ |
94 */ |
74 QByteArray iBaseProvider; |
95 QByteArray iBaseProvider; |
75 TBuf8<525> iProviderSymbian; |
96 TBuf8<525> iProviderSymbian; |
76 TBuf<125> iInterfaceSymbian; |
97 TBuf<125> iInterfaceSymbian; |
77 TBuf8<125> iInterfaceSymbian8; |
98 TBuf8<125> iInterfaceSymbian8; |
|
99 TBuf<100> iDSMErr; |
78 QString iInterfaceName; |
100 QString iInterfaceName; |
79 QByteArray iInterfaceNamebyte; |
101 QByteArray iInterfaceNamebyte; |
80 |
102 |
81 TPtr8 iDataPtr; |
103 TPtr8 iDataPtr; |
82 TPtr iDataPtr16; |
104 TPtr iDataPtr16; |