@@ -59,7 +59,7 @@ class ConnectEvent
5959 // / Create a new connect event having the same value as the specified
6060 // / 'original' object. Optionally specify a 'basicAllocator'
6161 // / used to supply memory. If 'basicAllocator' is 0, the currently
62- // / installed default allocator is used.s
62+ // / installed default allocator is used.
6363 ConnectEvent (const ConnectEvent& original,
6464 bslma::Allocator* basicAllocator = 0 );
6565
@@ -87,16 +87,20 @@ class ConnectEvent
8787 // / Return the state of the connect attempt at the time of the event.
8888 const ntca::ConnectContext& context () const ;
8989
90- // / Return true if 'type() == ntca::ConnectEventType::e_COMPLETE', i.e.,
91- // / the connect operation successfully completed without an error.
92- // / Otherwise, return false.
93- bool isComplete () const ;
90+ // / Return true if 'type() == ntca::ConnectEventType::e_INITIATED', i.e.,
91+ // / the connect operation has been initiated. Otherwise, return false.
92+ bool isInitiated () const ;
9493
9594 // / Return true if 'type() == ntca::ConnectEventType::e_ERROR', i.e.,
9695 // / the connect operation failed because of an error. Otherwise, return
9796 // / false. Note that the exact error is stored at 'context().error()'.
9897 bool isError () const ;
9998
99+ // / Return true if 'type() == ntca::ConnectEventType::e_COMPLETE', i.e.,
100+ // / the connect operation successfully completed without an error.
101+ // / Otherwise, return false.
102+ bool isComplete () const ;
103+
100104 // / Return true if this object has the same value as the specified
101105 // / 'other' object, otherwise return false.
102106 bool equals (const ConnectEvent& other) const ;
@@ -216,9 +220,9 @@ const ntca::ConnectContext& ConnectEvent::context() const
216220}
217221
218222NTCCFG_INLINE
219- bool ConnectEvent::isComplete () const
223+ bool ConnectEvent::isInitiated () const
220224{
221- return d_type == ntca::ConnectEventType::e_COMPLETE ;
225+ return d_type == ntca::ConnectEventType::e_INITIATED ;
222226}
223227
224228NTCCFG_INLINE
@@ -227,6 +231,12 @@ bool ConnectEvent::isError() const
227231 return d_type == ntca::ConnectEventType::e_ERROR;
228232}
229233
234+ NTCCFG_INLINE
235+ bool ConnectEvent::isComplete () const
236+ {
237+ return d_type == ntca::ConnectEventType::e_COMPLETE;
238+ }
239+
230240NTCCFG_INLINE
231241bsl::ostream& operator <<(bsl::ostream& stream, const ConnectEvent& object)
232242{
0 commit comments