kerneltest/e32test/usbho/t_usbdi/inc/EndpointStallWatcher.h
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
equal deleted inserted replaced
256:c1f20ce4abcf 257:3e88ff8f41d5
    59 protected:
    59 protected:
    60 	/**
    60 	/**
    61 	*/
    61 	*/
    62 	void DoCancel()
    62 	void DoCancel()
    63 		{
    63 		{
       
    64 		LOG_FUNC
       
    65 		
    64 		iClientDriver.EndpointStatusNotifyCancel();
    66 		iClientDriver.EndpointStatusNotifyCancel();
    65 		}
    67 		}
    66 		
    68 		
    67 	/**
    69 	/**
    68 	*/
    70 	*/
    71 	This is only called if the host alters the stall status of an endpoint.
    73 	This is only called if the host alters the stall status of an endpoint.
    72 	It will NOT be called if the client\peripheral has altered the stall ststus
    74 	It will NOT be called if the client\peripheral has altered the stall ststus
    73 	of an endpoint.
    75 	of an endpoint.
    74 	*/
    76 	*/
    75 		{
    77 		{
       
    78 		LOG_FUNC
       
    79 		
    76 		TUint epMask = iEpMask;
    80 		TUint epMask = iEpMask;
    77 
    81 
    78 		if(iStatus.Int() != KErrNone)
    82 		if(iStatus.Int() != KErrNone)
    79 			/*
    83 			/*
    80 			...for example a reset has occurred.
    84 			...for example a reset has occurred.
   115 		
   119 		
   116 	/**
   120 	/**
   117 	*/
   121 	*/
   118 	TInt RunError(TInt aError)
   122 	TInt RunError(TInt aError)
   119 		{
   123 		{
       
   124 		LOG_FUNC
       
   125 		
   120 		return KErrNone;
   126 		return KErrNone;
   121 		}
   127 		}
   122 
   128 
   123 private:
   129 private:
   124 	void RequestNotification()
   130 	void RequestNotification()