Atlas-C++
Negotiate.h
1 // This file may be redistributed and modified only under the terms of
2 // the GNU Lesser General Public License (See COPYING for details).
3 // Copyright (C) 2000 Michael Day
4 
5 // $Id$
6 
7 #ifndef ATLAS_NEGOTIATE_H
8 #define ATLAS_NEGOTIATE_H
9 
10 namespace Atlas {
11 
12 class Bridge;
13 class Codec;
14 
26 class Negotiate
27 {
28  public:
29  virtual ~Negotiate();
30 
31  enum State
32  {
33  IN_PROGRESS,
34  SUCCEEDED,
35  FAILED
36  };
37 
38  virtual State getState() = 0;
39  virtual Codec * getCodec(Bridge &) = 0;
40  virtual void poll(bool can_get = true) = 0;
41 };
42 
43 } // Atlas namespace
44 
45 #endif
Atlas::Bridge
Atlas stream bridge.
Definition: Bridge.h:36
Atlas::Codec
Atlas stream codec.
Definition: Codec.h:28
Atlas::Negotiate
Negotiation of codecs and filters for an Atlas connection.
Definition: Negotiate.h:27
Atlas
The Atlas namespace.
Definition: Bridge.h:20

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.