@@ -27,11 +27,11 @@ namespace chip {
27
27
namespace bdx {
28
28
29
29
/* *
30
- * An abstract class with methods for handling BDX messages received from an ExchangeContext. Once a message is receievd , this
31
- * class passes the message to the TransferSession to process the received message and gets the next output events from the
30
+ * An abstract class with methods for handling BDX messages received from an ExchangeContext. Once a message is received , this
31
+ * class passes the message to the TransferSession to process the received message and gets the resulting output events from the
32
32
* TransferSession state machine and either sends a message accross the exchange or calls the HandleTransferSessionOutput virtual
33
- * method to notify the subclass of the event generated. It keeps getting the next output event until it receieves an output event
34
- * of type TransferSession::OutputEventType::kNone. For messages that are sent to the HandleTransferSessionOutput method, the
33
+ * method to notify the subclass of the event generated. It keeps getting the next output event until it recieves an output event
34
+ * of type TransferSession::OutputEventType::kNone. For events that are handled via the HandleTransferSessionOutput method, the
35
35
* subclass must call the NotifyEventHandled to notify the AsyncTransferFacilitator that the event has been handled and returns an
36
36
* error code for error cases or success.
37
37
*
@@ -115,13 +115,13 @@ class AsyncResponder : public AsyncTransferFacilitator
115
115
116
116
/* *
117
117
* This is called by the subclass implementing HandleTransferSessionOutput to notify the AsyncTransferFacilitator
118
- * that it has handled the OutputEvent specified in event and returns an error code (if any) or success in the error paramter .
118
+ * that it has handled the OutputEvent specified in " event" and "status" is the result of handling the event .
119
119
* Once this is called the AsyncTransferFacilitator either aborts the transfer if an error has ocurred or drives the
120
120
* TransferSession state machine to generate the next output events to establish and continue the BDX session further.
121
121
*
122
122
*
123
123
* @param[in] event The OutputEvent that was handled by the subclass.
124
- * @param[in] error The error code that occured when handling the event if an error occurs. Otherwise has CHIP_NO_ERROR.
124
+ * @param[in] status The error code that occured when handling the event if an error occurs. Otherwise CHIP_NO_ERROR.
125
125
*/
126
126
void NotifyEventHandled (TransferSession::OutputEvent & event, CHIP_ERROR error);
127
127
};
0 commit comments