Go to the documentation of this file.
12 [[
"ice-prefix",
"cpp:header-ext:h"]]
14 #include <Ice/Identity.ice>
15 #include <Ice/BuiltinSequences.ice>
71 void createTopic(
LogUpdate llu,
string name)
86 void destroyTopic(
LogUpdate llu,
string name)
120 void removeSubscriber(
LogUpdate llu,
string topic, Ice::IdentitySeq subscribers)
214 void invitation(
int j,
string gn);
232 void ready(
int j,
string gn,
Object* coordinator,
int max,
long generation);
254 void accept(
int j,
string gn, Ice::IntSeq forwardedInvites,
Object* observer,
LogUpdate llu,
int max);
262 [
"cpp:const"] idempotent
bool areYouCoordinator();
276 [
"cpp:const"] idempotent
bool areYouThere(
string gn,
int j);
285 [
"cpp:const"] idempotent
Object* sync();
304 [
"cpp:const"] idempotent
QueryInfo query();
::std::vector< ::IceStorm::SubscriberRecord > SubscriberRecordSeq
Interface used to sync topics.
int coord
The nodes coordinator.
LogUpdate llu
The last known log update for this node.
GroupInfoSeq up
The sequence of nodes in this nodes group.
A struct used for marking the last log update.
@ NodeStateElection
The node is electing a leader.
Thrown if an observer detects an inconsistency.
Used to store persistent information for persistent subscribers.
string reason
The reason for the inconsistency.
::std::vector< ::IceStormElection::TopicContent > TopicContentSeq
A sequence of topic content.
void Identity(MatrixXX< N, N, T > *a)
Ice::Identity id
The topic identity.
@ NodeStateInactive
The node is inactive and awaiting an election.
int max
The highest priority node that this node has seen.
::std::vector< ::IceStormElection::GroupInfo > GroupInfoSeq
A sequence of group info.
string group
The nodes group name.
All nodes in the replication group.
@ NodeStateReorganization
The replica group is reorganizing.
@ NodeStateNormal
The replica group is active & replicating.
int id
The identity of the node.
NodeState state
The node state.
::std::vector< ::IceStormElection::NodeInfo > NodeInfoSeq
A sequence of node info.
int id
The identity of the node.
Object * replica
The replica the node is managing.
IceStorm::SubscriberRecordSeq records
The topic subscribers.