Boost logo

Boost :

From: Jonathan Biggar (jon_at_[hidden])
Date: 2005-12-12 11:34:31

Christopher Kohlhoff wrote:
> Hi Eugene,
> --- Eugene Alterman <eugalt_at_[hidden]> wrote:
> <snip>
>>The bottom line of my suggestion is to have 2 distinct
>>interfaces. One is for stream establishment and connection
>>properties management. It provides efficient protocol stack
>>layer navigation and access (but no stream i/o operations).
>>The other one is strictly layered streaming interface for data
>>Do you think it makes sense?
> Could you sketch out some rough code illustrating what you are
> thinking of? I'm having trouble seeing how it would fit
> together, in particular how you would transition from one
> interface the other.

I think Eugene's basic idea is to have separate factory classes that are
not streams that do the accept and connect handling. Once a connection
is established, the an operation on the factory returns (or initializes)
a stream object.

Jon Biggar

Boost list run by bdawes at, gregod at, cpdaniel at, john at