Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PRFC822Channel::OnOpen (  )  [protected, virtual]

This callback is executed when the Open() function is called with open channels. It may be used by descendent channels to do any handshaking required by the protocol that channel embodies.

The default behaviour is to simply return TRUE.

Returns TRUE if the protocol handshaking is successful.

Reimplemented from PIndirectChannel.

Definition at line 1436 of file inetmail.cxx.

  if (writeHeaders)
    return TRUE;

  istream & this_stream = *this;
  this_stream >> headers;
  return !bad();

Generated by  Doxygen 1.6.0   Back to index