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

BOOL PIndirectChannel::Open ( PChannel channel,
BOOL  autoDelete = TRUE 
) [inherited]

Set the channel for both read and write operations. This then checks that they are open and then calls the OnOpen() virtual function. If it in turn returns TRUE then the Open() function returns success.

The channel pointed to by channel# may be automatically deleted when the PIndirectChannel is destroyed or a new subchannel opened.

TRUE if both channels are set, open and OnOpen() returns TRUE.
channel  Channel to be used for both read and write operations.
autoDelete  Automatically delete the channel

Definition at line 894 of file pchannel.cxx.

  return Open(channel, channel, autoDelete, autoDelete);

Generated by  Doxygen 1.6.0   Back to index