Atlas_Net_StreamAccept (3) Linux Manual Page
Atlas::Net::StreamAccept – Negotiation of servers accepting a connection from a remote system.
Synopsis
#include <Stream.h>Inherits Atlas::Negotiate.
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 &)
Detailed Description
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.
