Interface UpdateMsgVisitor<E extends Exception>
-
- Type Parameters:
E
- Type of the exception which can be thrown during the visit.
public interface UpdateMsgVisitor<E extends Exception>
A visitor ofUpdateMsg
s, in the style of the visitor design pattern.Classes implementing this interface can query messages in a type-safe manner.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visit(AddMsg addMessage)
Visits anAddMsg
message.void
visit(DeleteMsg deleteMessage)
Visits anDeleteMsg
message.void
visit(ModifyDNMsg modifyDnMessage)
Visits anModifyDNMsg
message.void
visit(ModifyMsg modifyMessage)
Visits anModifyMsg
message.void
visit(ReplicaOfflineMsg replicaOfflineMessage)
Visits anReplicaOfflineMsg
message.
-
-
-
Method Detail
-
visit
void visit(ModifyDNMsg modifyDnMessage) throws E extends Exception
Visits anModifyDNMsg
message.
-
-