connectionmonitoring/connmon/connectionmonitor/inc/ConnMonNoti.h
changeset 53 4af712113915
parent 0 5a93021fdf25
equal deleted inserted replaced
47:cb7afde124a3 53:4af712113915
     1 /*
     1 /*
     2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-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".
   672         * @since
   672         * @since
   673         * @return void.
   673         * @return void.
   674         */
   674         */
   675         void SetInterfaceClosed();
   675         void SetInterfaceClosed();
   676 
   676 
       
   677         /**
       
   678         * Tells whether interface has been closed or not.
       
   679         * @since
       
   680         * @return ETrue if interface has been closed, otherwise EFalse.
       
   681         */
       
   682         TBool InterfaceClosed();
       
   683 
       
   684         /**
       
   685         * Sets link layer status to closed.
       
   686         * @since
       
   687         * @return void.
       
   688         */
       
   689         void SetLinkLayerClosed();
       
   690 
       
   691         /**
       
   692         * Sets link layer status to NOT closed.
       
   693         * @since
       
   694         * @return void.
       
   695         */
       
   696         void SetLinkLayerOpen();
       
   697 
       
   698         /**
       
   699         * Return ETrue if KLinkLayerClosed has been received.
       
   700         * @since
       
   701         * @return ETrue if KLinkLayerClosed has been received, otherwise returns EFalse.
       
   702         */
       
   703         TBool LinkLayerClosed();
       
   704 
       
   705 
   677     private: // Methods from base classes
   706     private: // Methods from base classes
   678          /**
   707          /**
   679         * From CActive Cancels the asyncronous request
   708         * From CActive Cancels the asyncronous request
   680         * @since
   709         * @since
   681         * @return void
   710         * @return void
   698         TSubConnectionNotificationBuf iSubConnEventBuf;
   727         TSubConnectionNotificationBuf iSubConnEventBuf;
   699         TUint                         iTotalDownlinkDataVolume;
   728         TUint                         iTotalDownlinkDataVolume;
   700         TUint                         iTotalUplinkDataVolume;
   729         TUint                         iTotalUplinkDataVolume;
   701         TBool                         iDeleteSent;
   730         TBool                         iDeleteSent;
   702         TBool                         iInterfaceClosed;
   731         TBool                         iInterfaceClosed;
       
   732         TBool                         iLinkLayerClosed;
   703     };
   733     };
   704 
   734 
   705 /**
   735 /**
   706 *  CTimerAO
   736 *  CTimerAO
   707 *  Timer that cancel activity notifier after one second.
   737 *  Timer that cancel activity notifier after one second.