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-2001 Michael Day 00004 00005 #ifndef ATLAS_NEGOTIATE_H 00006 #define ATLAS_NEGOTIATE_H 00007 00008 #include <Atlas/Task.h> 00009 00010 namespace Atlas { 00011 00012 template <class Stream> 00013 class Codec; 00014 00025 template <typename Stream> 00026 class Negotiate : public Task 00027 { 00028 public: 00029 00030 enum State 00031 { 00032 IN_PROGRESS, 00033 SUCCEEDED, 00034 FAILED, 00035 }; 00036 00037 virtual State getState() = 0; 00038 virtual Codec<Stream>* getCodec() = 0; 00039 }; 00040 00041 } // Atlas namespace 00042 00043 #endif
Copyright 2000 the respective authors.
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.