1 #ifndef paxos_protocol_h
2 #define paxos_protocol_h
11 class paxos_protocol {
13 enum xxstatus { OK, ERR };
48 operator>>(unmarshall &u, prop_t &a)
56 operator<<(marshall &m, prop_t a)
64 operator>>(unmarshall &u, paxos_protocol::preparearg &a)
72 operator<<(marshall &m, paxos_protocol::preparearg a)
80 operator>>(unmarshall &u, paxos_protocol::prepareres &r)
90 operator<<(marshall &m, paxos_protocol::prepareres r)
100 operator>>(unmarshall &u, paxos_protocol::acceptarg &a)
109 operator<<(marshall &m, paxos_protocol::acceptarg a)
118 operator>>(unmarshall &u, paxos_protocol::decidearg &a)
126 operator<<(marshall &m, paxos_protocol::decidearg a)