equal
deleted
inserted
replaced
79 |
79 |
80 /*virtual*/ void CDisconnectCommand::Match(const THCIEventBase& aEvent, TBool& aMatchesCmd, TBool& aConcludesCmd, TBool& aContinueMatching) const |
80 /*virtual*/ void CDisconnectCommand::Match(const THCIEventBase& aEvent, TBool& aMatchesCmd, TBool& aConcludesCmd, TBool& aContinueMatching) const |
81 { |
81 { |
82 if (aEvent.EventCode() == EDisconnectionCompleteEvent) |
82 if (aEvent.EventCode() == EDisconnectionCompleteEvent) |
83 { |
83 { |
84 aMatchesCmd = ETrue; |
84 TDisconnectionCompleteEvent& event = TDisconnectionCompleteEvent::Cast(aEvent); |
85 aConcludesCmd = ETrue; |
85 if (event.ConnectionHandle() == ConnectionHandle()) |
86 aContinueMatching = EFalse; |
86 { |
|
87 aMatchesCmd = ETrue; |
|
88 aConcludesCmd = ETrue; |
|
89 aContinueMatching = EFalse; |
|
90 } |
87 } |
91 } |
88 // Command Status Event and default Command Complete Event matching |
92 // Command Status Event and default Command Complete Event matching |
89 // is implemented in the base class. If we haven't matched already |
93 // is implemented in the base class. If we haven't matched already |
90 // then we should try the default matching. |
94 // then we should try the default matching. |
91 if (!aMatchesCmd) |
95 if (!aMatchesCmd) |