00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_ABSTRACT_CLUSTER_PROCESSOR_HPP
00017 #define COH_ABSTRACT_CLUSTER_PROCESSOR_HPP
00018
00019 #include "coherence/lang.ns"
00020
00021 #include "coherence/io/pof/PofReader.hpp"
00022 #include "coherence/io/pof/PofWriter.hpp"
00023 #include "coherence/io/pof/PortableObject.hpp"
00024
00025 #include "coherence/util/processor/AbstractProcessor.hpp"
00026
00027 COH_OPEN_NAMESPACE3(coherence,util, processor)
00028
00029 using coherence::io::pof::PofReader;
00030 using coherence::io::pof::PofWriter;
00031 using coherence::io::pof::PortableObject;
00032
00033
00034
00035
00036
00037
00038
00039 class COH_EXPORT AbstractClusterProcessor
00040 : public abstract_spec<AbstractClusterProcessor,
00041 extends<AbstractProcessor>,
00042 implements<PortableObject> >
00043 {
00044
00045
00046 public:
00047
00048
00049
00050 virtual Object::Holder process(
00051 InvocableMap::Entry::Handle hEntry) const;
00052
00053
00054
00055 public:
00056
00057
00058
00059 virtual void readExternal(PofReader::Handle hIn);
00060
00061
00062
00063
00064 virtual void writeExternal(PofWriter::Handle hOut) const;
00065 };
00066
00067 COH_CLOSE_NAMESPACE3
00068
00069 #endif // COH_ABSTRACT_CLUSTER_PROCESSOR_HPP