Uses of Interface
io.permazen.kv.raft.msg.MessageSwitch
-
Uses of MessageSwitch in io.permazen.kv.raft.msg
Modifier and TypeMethodDescriptionvoid
AppendRequest.visit
(MessageSwitch handler) void
AppendResponse.visit
(MessageSwitch handler) void
CommitRequest.visit
(MessageSwitch handler) void
CommitResponse.visit
(MessageSwitch handler) void
GrantVote.visit
(MessageSwitch handler) void
InstallSnapshot.visit
(MessageSwitch handler) abstract void
Message.visit
(MessageSwitch handler) Apply the visitor pattern based on this instance's type.void
PingRequest.visit
(MessageSwitch handler) void
PingResponse.visit
(MessageSwitch handler) void
RequestVote.visit
(MessageSwitch handler)