mmserv/tms/tmsserver/inc/tmsserver.h
changeset 20 b67dd1fc57c5
parent 12 5a06f39ad45b
child 33 5e8b14bae8c3
child 42 1fa3fb47b1e3
equal deleted inserted replaced
19:4a629bc82c5e 20:b67dd1fc57c5
    44 //
    44 //
    45 class TMSServer : public CServer2,
    45 class TMSServer : public CServer2,
    46                   private TMSRtPlayerObsrv
    46                   private TMSRtPlayerObsrv
    47     {
    47     {
    48 public:
    48 public:
    49     static TMSServer* NewL();
    49     static void RunServerL();
    50     ~TMSServer();
    50     ~TMSServer();
    51 
    51 
    52     void AddSession();
    52     void AddSession();
    53     void DropSession();
    53     void DropSession();
    54     TInt SessionCount() const;
    54     TInt SessionCount() const;
   105 
   105 
   106     // from TMSRtPlayerObsrv
   106     // from TMSRtPlayerObsrv
   107     void RtPlayerEvent(TInt aEventType, TInt aError);
   107     void RtPlayerEvent(TInt aEventType, TInt aError);
   108 
   108 
   109 private:
   109 private:
       
   110     static TMSServer* NewLC();
   110     TMSServer();
   111     TMSServer();
   111     void ConstructL();
   112     void ConstructL();
   112     CSession2* NewSessionL(const TVersion& aVersion,
   113     CSession2* NewSessionL(const TVersion& aVersion,
   113             const RMessage2& aMessage) const;
   114             const RMessage2& aMessage) const;
   114 
   115