networkingtestandutils/networkingunittest/tdummyetel/etelpckt.cpp
branchRCL_3
changeset 58 8d540f55e491
parent 57 abbed5a4b42a
equal deleted inserted replaced
57:abbed5a4b42a 58:8d540f55e491
    43 EXPORT_C RPacketContext::RPacketContext()
    43 EXPORT_C RPacketContext::RPacketContext()
    44 	:iEtelPacketContextPtrHolder(NULL)
    44 	:iEtelPacketContextPtrHolder(NULL)
    45 	{
    45 	{
    46 	}
    46 	}
    47 
    47 
    48 EXPORT_C void RPacketContext::ConstructL()
    48 void RPacketContext::ConstructL()
    49 /**
    49 /**
    50  * This function creates an instance of CPacketContextPtrHolder & assigns the iEtelPacketContextPtrHolder
    50  * This function creates an instance of CPacketContextPtrHolder & assigns the iEtelPacketContextPtrHolder
    51  * pointer to it. 
    51  * pointer to it. 
    52  */
    52  */
    53 	{
    53 	{
    54 	__ASSERT_ALWAYS(iEtelPacketContextPtrHolder==NULL,PanicClient(EEtelPanicHandleNotClosed));
    54 	__ASSERT_ALWAYS(iEtelPacketContextPtrHolder==NULL,PanicClient(EEtelPanicHandleNotClosed));
    55 	iEtelPacketContextPtrHolder = CPacketContextPtrHolder::NewL(CEtelPacketPtrHolder::EMaxNumPacketContextPtrSlots);
    55 	iEtelPacketContextPtrHolder = CPacketContextPtrHolder::NewL(CEtelPacketPtrHolder::EMaxNumPacketContextPtrSlots);
    56 	}
    56 	}
    57 
    57 	
    58 EXPORT_C void RPacketContext::Destruct()
    58 void RPacketContext::Destruct()
    59 /**
    59 /**
    60  * This function deletes & NULLs the iEtelPacketContextPtrHolder pointer.
    60  * This function deletes & NULLs the iEtelPacketContextPtrHolder pointer.
    61  */
    61  */
    62 	{
    62 	{
    63 	delete iEtelPacketContextPtrHolder;
    63 	delete iEtelPacketContextPtrHolder;
   984 	return iExtensionId;
   984 	return iExtensionId;
   985 	}
   985 	}
   986 
   986 
   987 	
   987 	
   988 	
   988 	
   989 EXPORT_C RPacketContext::TProtocolConfigOptionV2::TProtocolConfigOptionV2()
   989 RPacketContext::TProtocolConfigOptionV2::TProtocolConfigOptionV2()
   990 : TPacketBase(), iChallenge(0), iResponse(0), iId(0), iDnsAddresses(),
   990 : TPacketBase(), iChallenge(0), iResponse(0), iId(0), iDnsAddresses(),
   991   iMiscBuffer(0)
   991   iMiscBuffer(0)
   992 /**
   992 /**
   993 	Constructor for TProtocolConfigOptionV2 class
   993 	Constructor for TProtocolConfigOptionV2 class
   994 
   994