Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

Negotiate.h

00001 // This file may be redistributed and modified only under the terms of
00002 // the GNU Lesser General Public License (See COPYING for details).
00003 // Copyright (C) 2000 Michael Day
00004 
00005 #ifndef ATLAS_NEGOTIATE_H
00006 #define ATLAS_NEGOTIATE_H
00007 
00008 namespace Atlas {
00009 
00010 class Bridge;
00011 class Codec;
00012 
00024 class Negotiate
00025 {
00026     public:
00027     virtual ~Negotiate();
00028 
00029     enum State
00030     {
00031         IN_PROGRESS,
00032         SUCCEEDED,
00033         FAILED
00034     };
00035 
00036     virtual State getState() = 0;
00037     virtual Codec * getCodec(Bridge &) = 0;
00038     virtual void poll(bool can_get = true) = 0;
00039 };
00040 
00041 } // Atlas namespace
00042 
00043 #endif

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.