localconnectivityservice/dun/utils/inc/DunDataPusher.h
branchRCL_3
changeset 11 c47ebe2ac36c
parent 0 c3e98f10fcf4
child 20 3dcb815346df
equal deleted inserted replaced
10:031b9cffe6e4 11:c47ebe2ac36c
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    76  *  Class for pushing data to existing CDunDownstream stream from outside
    76  *  Class for pushing data to existing CDunDownstream stream from outside
    77  *
    77  *
    78  *  @lib dunutils.lib
    78  *  @lib dunutils.lib
    79  *  @since S60 v3.2
    79  *  @since S60 v3.2
    80  */
    80  */
    81 NONSHARABLE_CLASS( CDunDataPusher ) : public CActive,
    81 NONSHARABLE_CLASS( CDunDataPusher ) : public CActive
    82                                       public MDunEndpointReady
       
    83     {
    82     {
    84 
    83 
    85 public:
    84 public:
    86 
    85 
    87     /**
    86     /**
   236      * @since S60 3.2
   235      * @since S60 3.2
   237      * @return None
   236      * @return None
   238      */
   237      */
   239     void DoCancel();
   238     void DoCancel();
   240 
   239 
   241 // from base class MDunEndpointReady
       
   242 
       
   243     /**
       
   244      * Gets called when endpoint is ready
       
   245      *
       
   246      * @since S60 5.0
       
   247      * @return None
       
   248      */
       
   249     void NotifyEndpointReady();
       
   250 
       
   251     /**
       
   252      * Gets called when endpoint is not ready
       
   253      *
       
   254      * @since S60 5.0
       
   255      * @return None
       
   256      */
       
   257     void NotifyEndpointNotReady();
       
   258 
       
   259 private:  // data
   240 private:  // data
   260 
   241 
   261     /**
   242     /**
   262      * Parent class owning this friend class (CDunDownstream)
   243      * Parent class owning this friend class (CDunDownstream)
   263      */
   244      */
   281 
   262 
   282     /**
   263     /**
   283      * Index of current event to serve
   264      * Index of current event to serve
   284      */
   265      */
   285     TInt iEventIndex;
   266     TInt iEventIndex;
   286 
       
   287     /**
       
   288      * Flag to be set when endpoint is ready or not
       
   289      */
       
   290     TBool iEPReady;
       
   291 
   267 
   292     /**
   268     /**
   293      * RSocket object of local media side
   269      * RSocket object of local media side
   294      * If this is set then iComm is not used
   270      * If this is set then iComm is not used
   295      * Not own.
   271      * Not own.