Overview
Features
Download
Documentation
Community
Add-Ons & Services

BasicFileChannel

General discussion regarding the development of POCO for contributors.

BasicFileChannel

Postby bigo » 07 Feb 2010, 04:20

I'm working on a project using Poco and I found that the supplied FileChannels did far more than I needed. All I needed was a simple channel that wrote to a specific file, I had no use for file rotation or any other advanced features. I am willing to clean it up and format it so that it fits in with the rest of the library if the Poco maintainers are interested in having it.

The header can be viewed here and the source here.
bigo
 
Posts: 2
Joined: 07 Feb 2010, 04:09

Re: BasicFileChannel

Postby guenter » 08 Feb 2010, 10:42

Why not use Poco::SimpleFileChannel? http://pocoproject.org/docs/Poco.SimpleFileChannel.html
guenter
 
Posts: 1092
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: BasicFileChannel

Postby bigo » 08 Feb 2010, 15:32

I certainly could have. I just now noticed that it was possible to disable rotation with SimpleFileChannel via the rotation property, something that I originally did not think was possible. I just didn't have any need for a lot of its functionality to be honest.
bigo
 
Posts: 2
Joined: 07 Feb 2010, 04:09


Return to Contributors

Who is online

Users browsing this forum: No registered users and 1 guest