localconnectivityservice/dun/utils/src/DunDownstream.cpp
changeset 31 3b92f7acdc91
parent 0 c3e98f10fcf4
child 38 3dcb815346df
equal deleted inserted replaced
30:64b3172ba347 31:3b92f7acdc91
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-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".
   138     // Now push the data. If already active, push will start later, if not
   138     // Now push the data. If already active, push will start later, if not
   139     // active it will start immediately.
   139     // active it will start immediately.
   140     iPushData.iDataPusher->SendQueuedData();
   140     iPushData.iDataPusher->SendQueuedData();
   141     FTRACE(FPrint( _L("CDunDownstream::AddToQueueAndSend() complete" ) ));
   141     FTRACE(FPrint( _L("CDunDownstream::AddToQueueAndSend() complete" ) ));
   142     return KErrNone;
   142     return KErrNone;
   143     }
       
   144 
       
   145 // ---------------------------------------------------------------------------
       
   146 // Gets the endpoint readiness handler
       
   147 // ---------------------------------------------------------------------------
       
   148 //
       
   149 MDunEndpointReady* CDunDownstream::EndpointReadyHandler()
       
   150     {
       
   151     FTRACE(FPrint( _L("CDunDownstream::EndpointReadyHandler()" ) ));
       
   152     FTRACE(FPrint( _L("CDunDownstream::EndpointReadyHandler() complete" ) ));
       
   153     return iPushData.iDataPusher;
       
   154     }
   143     }
   155 
   144 
   156 // ---------------------------------------------------------------------------
   145 // ---------------------------------------------------------------------------
   157 // Starts downstream by issuing read request
   146 // Starts downstream by issuing read request
   158 // ---------------------------------------------------------------------------
   147 // ---------------------------------------------------------------------------