smf/smfservermodule/smfserver/server/smfserverqt.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 * Description:
       
    15 * SMF Server implementation for platforms other than Symbian.
       
    16 * Uses  QLocalServer-QLocalSocket classes
       
    17 *
       
    18 */
       
    19 
       
    20 #include "smfserverqt_p.h"
       
    21 
       
    22 #include <QLocalServer>
       
    23 #include <QLocalSocket>
       
    24 
       
    25 //
       
    26 // SmfServerQt
       
    27 //
       
    28 
       
    29 SmfServerQt::SmfServerQt()
       
    30 {
       
    31 }
       
    32 
       
    33 SmfServerQt::~SmfServerQt()
       
    34 {
       
    35 }
       
    36 
       
    37 bool SmfServerQt::start()
       
    38 {
       
    39     return false;
       
    40 }
       
    41 
       
    42 int SmfServerQt::sessionListCount() const
       
    43 {
       
    44     return 0;
       
    45 }
       
    46 
       
    47 void SmfServerQt::writeLog(QString log) const
       
    48 {
       
    49     Q_UNUSED(log);
       
    50 }
       
    51 
       
    52 /**
       
    53  * Called by the SmfServer when client authorization finishes.
       
    54  * @param success success of the authorization
       
    55  */
       
    56 void SmfServerQt::clientAuthorizationFinished(bool success)
       
    57 {
       
    58     Q_UNUSED(success);
       
    59 }
       
    60 
       
    61 void SmfServerQt::newClientConnected()
       
    62 {
       
    63 }
       
    64 
       
    65 void  SmfServerQt::removeFromList()
       
    66 {
       
    67 }
       
    68 
       
    69 int SmfServerQt::findAndServiceclient(int requestID,QByteArray* parsedData,SmfError error)
       
    70 {
       
    71     Q_UNUSED(requestID);
       
    72     Q_UNUSED(parsedData);
       
    73     Q_UNUSED(error);
       
    74     return 0;
       
    75 }
       
    76 
       
    77 //
       
    78 // SmfServerQtSession
       
    79 //
       
    80 
       
    81 SmfServerQtSession::SmfServerQtSession(QLocalSocket *clientConnection, SmfServerQt *server)
       
    82 {
       
    83     Q_UNUSED(server);
       
    84     Q_UNUSED(clientConnection);
       
    85 }
       
    86 
       
    87 SmfServerQtSession::~SmfServerQtSession()
       
    88 {
       
    89 }
       
    90 
       
    91 void SmfServerQtSession::readDataFromClient()
       
    92 {
       
    93 }
       
    94 
       
    95 void SmfServerQtSession::clientAuthorizationFinished(bool success)
       
    96 {
       
    97     Q_UNUSED(success);
       
    98 }