00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_THROWABLE_POF_SERIALIZER_HPP
00017 #define COH_THROWABLE_POF_SERIALIZER_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/util/Collection.hpp"
00024
00025 COH_OPEN_NAMESPACE3(coherence,io,pof)
00026
00027 using coherence::util::Collection;
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 class COH_EXPORT ThrowablePofSerializer
00045 : public class_spec<ThrowablePofSerializer,
00046 extends<Object>,
00047 implements<PofSerializer> >
00048 {
00049 friend class factory<ThrowablePofSerializer>;
00050
00051
00052
00053 protected:
00054
00055
00056
00057 ThrowablePofSerializer();
00058
00059
00060
00061
00062 public:
00063
00064
00065
00066 virtual void serialize(PofWriter::Handle hOut, Object::View v) const;
00067
00068
00069
00070
00071 virtual Object::Holder deserialize(PofReader::Handle hIn) const;
00072
00073
00074
00075
00076 public:
00077
00078
00079
00080
00081
00082
00083 static void writeThrowable(PofWriter::Handle hOut, Exception::View ve);
00084 };
00085
00086 COH_CLOSE_NAMESPACE3
00087
00088 #endif // COH_THROWABLE_POF_SERIALIZER_HPP
Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.