smf/smfservermodule/smfclient/client/smfclientqt.cpp
changeset 10 77a56c951f86
child 13 b5d63d5fc252
equal deleted inserted replaced
7:be09cf1f39dd 10:77a56c951f86
       
     1 /**
       
     2  * Copyright (c) 2010 Sasken Communication Technologies Ltd.
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of the "Eclipse Public License v1.0"
       
     6  * which accompanies  this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html"
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution
       
    11  *
       
    12  * Contributors:
       
    13  * Manasij Roy, Nalina Hariharan
       
    14  */
       
    15 
       
    16 #include "smfclientqt.h"
       
    17 
       
    18 SmfClientQt::SmfClientQt(QObject *parent) :
       
    19     QObject(parent)
       
    20 {
       
    21 }
       
    22 
       
    23 /**
       
    24  * Send a request to the server.
       
    25  * @param aSerializedData serialized by the caller.
       
    26  * @param aInterfaceName Interface name
       
    27  * @param requestType Opcode
       
    28  */
       
    29 int SmfClientQt::sendRequest(QByteArray& aSerializedData, QString aInterfaceName,
       
    30                              SmfRequestTypeID requestType)
       
    31 {
       
    32 
       
    33 }
       
    34 
       
    35 /**
       
    36  * This overloaded API is for ESmfGetServices, where data should be
       
    37  * fetched synchronously
       
    38  */
       
    39 QByteArray SmfClientQt::sendRequest(QString aInterfaceName,
       
    40             SmfRequestTypeID requestType)
       
    41 {
       
    42 
       
    43 }
       
    44 
       
    45 /**
       
    46  * For testing purpose only
       
    47  */
       
    48 int SmfClientQt::sendDummyRequest(QByteArray* provider,QString aInterfaceName,
       
    49             SmfRequestTypeID requestType)
       
    50 {
       
    51 
       
    52 }
       
    53 
       
    54 /**
       
    55 * CancelRequest.
       
    56 * Cancels an outstanding request.
       
    57 */
       
    58 void SmfClientQt::CancelRequest()
       
    59 {
       
    60 
       
    61 }