Atlas 0.7.0
Networking protocol for the Worldforge system.
Atlas::Net::NegotiateHelper Class Reference

#include <Stream.h>

Public Member Functions

 NegotiateHelper (std::list< std::string > &names)
 
bool get (std::string &buf, const std::string &header)
 
void put (std::string &buf, const std::string &header)
 

Detailed Description

Negotiation of codecs and filters for an Atlas connection

non blocking negotiation of Codecs and Filters requires a list of avalable Codecs and Filters, along with the name of sender and a Socket

See also
Connection
Codec
Filter

Definition at line 36 of file Stream.h.

Constructor & Destructor Documentation

◆ NegotiateHelper()

Atlas::Net::NegotiateHelper::NegotiateHelper ( std::list< std::string > &  names)
explicit

Definition at line 42 of file Stream.cpp.

Member Function Documentation

◆ get()

bool Atlas::Net::NegotiateHelper::get ( std::string &  buf,
const std::string &  header 
)

Definition at line 47 of file Stream.cpp.

◆ put()

void Atlas::Net::NegotiateHelper::put ( std::string &  buf,
const std::string &  header 
)

Definition at line 75 of file Stream.cpp.


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