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