javaextensions/wma/mms/pushplugin/src.s60/s60mmsserverconnection.h
changeset 78 71ad690e91f5
parent 21 2a9601315dfc
equal deleted inserted replaced
72:1f0034e370aa 78:71ad690e91f5
    90      * or Push Controller .This function is called first when the server
    90      * or Push Controller .This function is called first when the server
    91      * connection is called from MIDlet context.
    91      * connection is called from MIDlet context.
    92      * @return
    92      * @return
    93      */
    93      */
    94     OS_IMPORT void setOpen();
    94     OS_IMPORT void setOpen();
       
    95     void setUnregister();
       
    96     void clearUnregister();
    95 private:
    97 private:
    96     //Constructor
    98     //Constructor
    97     S60MmsServerConnection();
    99     S60MmsServerConnection();
    98     void InitializeL();
   100     void InitializeL();
    99     void MmsRequestCompleted();
   101     void MmsRequestCompleted();
   187     CMsvEntry* mClientEntry;
   189     CMsvEntry* mClientEntry;
   188     // flag to indicate listening by push or application
   190     // flag to indicate listening by push or application
   189     bool mIsAppLaunched;
   191     bool mIsAppLaunched;
   190     //listener to be notified for incoming messages
   192     //listener to be notified for incoming messages
   191     ConnectionListener* mListener;
   193     ConnectionListener* mListener;
       
   194     bool mUnregister;
   192     // handle to monitor object
   195     // handle to monitor object
   193     java::util::Monitor* mOpenMonitor;
   196     java::util::Monitor* mOpenMonitor;
   194     // reference to application adapter
   197     // reference to application adapter
   195     CMmsApplicationAdapter* mMmsApplicationAdapter;
   198     CMmsApplicationAdapter* mMmsApplicationAdapter;
   196 };
   199 };