sdkcreationmw/sdkruntimes/wsock/inc/WinsockAgentCallback.h
changeset 0 b26acd06ea60
child 1 ac50fd48361b
equal deleted inserted replaced
-1:000000000000 0:b26acd06ea60
       
     1 /*
       
     2 * Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _WSOCK_AGENT_CONNECTOR_H_
       
    20 #define _WSOCK_AGENT_CONNECTOR_H_
       
    21 
       
    22 #include "WinsockAgent.h"
       
    23 
       
    24 // Fires delayed connection notification
       
    25 class CWinsockAgentCallback : public CActive
       
    26 {
       
    27 private:
       
    28     CWinsockAgent* iAgent;
       
    29     CWinsockAgent::CallbackMethod iMethod;
       
    30 public:
       
    31     CWinsockAgentCallback(CWinsockAgent* aAgent, 
       
    32         CWinsockAgent::CallbackMethod aMethod);
       
    33 
       
    34     void DoCancel();
       
    35     void RunL();
       
    36 
       
    37     void InvokeLater();
       
    38     CWinsockAgent* Agent();
       
    39 };
       
    40 
       
    41 #endif // _WSOCK_AGENT_CONNECTOR_H_