Atlas-C++
|
Negotiation of servers accepting a connection from a remote system. More...
#include <Stream.h>
Public Member Functions | |
StreamAccept (const std::string &name, std::iostream &) | |
virtual void | poll (bool can_read=true) |
virtual State | getState () |
virtual Atlas::Codec * | getCodec (Atlas::Bridge &) |
Additional Inherited Members | |
![]() | |
enum | State { IN_PROGRESS, SUCCEEDED, FAILED } |
Negotiation of servers accepting a connection from a remote system.
Used once a stream connection has been established by a client. This class listens to the list of Atlas::Codec types that the client offers, and then responds with the name of the Atlas::Codec which it thinks is most suitable. Once the server has told the client which Atlas::Codec to use, negotiation is flagged as complete, and this object can be deleted.
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.