mmserv/tms/tmsserver/inc/tmsserver.h
branchRCL_3
changeset 18 2eb3b066cc7d
parent 10 3d8c721bf319
child 45 095bea5f582e
equal deleted inserted replaced
17:3570217d8c21 18:2eb3b066cc7d
    40 // -----------------------------------------------------------------------------
    40 // -----------------------------------------------------------------------------
    41 //
    41 //
    42 class TMSServer : public CServer2
    42 class TMSServer : public CServer2
    43     {
    43     {
    44 public:
    44 public:
    45     static TMSServer* NewL();
    45     static void RunServerL();
    46     ~TMSServer();
    46     ~TMSServer();
    47 
    47 
    48     void AddSession();
    48     void AddSession();
    49     void DropSession();
    49     void DropSession();
    50     TInt SessionCount() const;
    50     TInt SessionCount() const;
    77     void CancelRoutingNotifier();
    77     void CancelRoutingNotifier();
    78     void StartCenRepHandlerL();
    78     void StartCenRepHandlerL();
    79     void CancelCenRepHandler();
    79     void CancelCenRepHandler();
    80 
    80 
    81 private:
    81 private:
       
    82     static TMSServer* NewLC();
    82     TMSServer();
    83     TMSServer();
    83     void ConstructL();
    84     void ConstructL();
    84     CSession2* NewSessionL(const TVersion& aVersion,
    85     CSession2* NewSessionL(const TVersion& aVersion,
    85             const RMessage2& aMessage) const;
    86             const RMessage2& aMessage) const;
    86 
    87