upnp/upnpstack/ssdpserver/inc/upnpudpsendrequest.h
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     1 /** @file
       
     2  * Copyright (c) 2005-2008 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:  CUpnpUdpSendRequest is udp message sender
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef C_CUPNPUDPSERVERREQUEST_H
       
    19 #define C_CUPNPUDPSERVERREQUEST_H
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include <e32std.h>
       
    23 
       
    24 // CLASS DECLARATION
       
    25 /**
       
    26  *  ?one_line_short_description.
       
    27  *  ?other_description_lines
       
    28  *
       
    29  *  @since Series60 2.0
       
    30  */
       
    31 NONSHARABLE_CLASS(CUpnpUdpSendRequest) : public CBase
       
    32     {
       
    33 public:
       
    34     // Constructors and destructor
       
    35 
       
    36     /**
       
    37      * Two-phased constructor.
       
    38      */
       
    39     static CUpnpUdpSendRequest* NewL( TDesC8& aBuffer, TInetAddr& anAddr );
       
    40 
       
    41     /**
       
    42      * C++ default constructor.
       
    43      */
       
    44     CUpnpUdpSendRequest( const TInetAddr& anAddr );
       
    45 
       
    46     /**
       
    47      * By default Symbian 2nd phase constructor is private.
       
    48      */
       
    49     void ConstructL( const TDesC8& aBuffer );
       
    50 
       
    51     /**
       
    52      * Destructor.
       
    53      */
       
    54     ~CUpnpUdpSendRequest();
       
    55 
       
    56 public:
       
    57 
       
    58     HBufC8* iBuffer;
       
    59     TInetAddr iAddr;
       
    60 
       
    61     };
       
    62 
       
    63 #endif  //C_CUPNPUDPSERVERREQUEST_H
       
    64 // End of File