Atlas-C++
Public Member Functions | List of all members
Atlas::Net::StreamConnect Class Reference

Negotiation of clients building a connection to a remote system. More...

#include <Stream.h>

Inheritance diagram for Atlas::Net::StreamConnect:
Atlas::Negotiate

Public Member Functions

 StreamConnect (const std::string &name, std::iostream &)
 
virtual void poll (bool can_read=true)
 
virtual State getState ()
 
virtual Atlas::CodecgetCodec (Atlas::Bridge &)
 

Additional Inherited Members

- Public Types inherited from Atlas::Negotiate
enum  State { IN_PROGRESS, SUCCEEDED, FAILED }
 

Detailed Description

Negotiation of clients building a connection to a remote system.

Used once a stream connection has been established to the server. This class offers the server a list of Atlas::Codec types that the client can understand, and then listens for the servers decision. Once the server has told the client which Atlas::Codec to use, negotiation is flagged as complete, and this object can be deleted.


The documentation for this class was generated from the following file:

Copyright 2000-2004 the respective authors.

This document can be licensed under the terms of the GNU Free Documentation License or the GNU General Public License and may be freely distributed under the terms given by one of these licenses.