replyToTopic(new GetDMQSettingsReply((dmqId != null)?dmqId.toString():null, 0),
not.getReplyTo(), not.getRequestMsgId(), not.getReplyMsgId());
} else if (adminRequest instanceof SetFather) {
setSave(); // state change, so save.
this.fatherId = AgentId.fromString(((SetFather) adminRequest).getFather());
replyToTopic(new AdminReply(true, null),
not.getReplyTo(), not.getRequestMsgId(), not.getReplyMsgId());
} else if (adminRequest instanceof GetFatherRequest) {
replyToTopic(new GetFatherReply((fatherId != null)?fatherId.toString():null),
not.getReplyTo(), not.getRequestMsgId(), not.getReplyMsgId());
} else if (adminRequest instanceof ClusterList) {
List clstr = clusterList();
replyToTopic(new ClusterListReply(clstr), not.getReplyTo(), not.getRequestMsgId(), not.getReplyMsgId());
} else if (adminRequest instanceof ClusterAdd) {
clusterAdd(not, ((ClusterAdd) adminRequest).getAddedDest());
} else if (adminRequest instanceof ClusterLeave) {
clusterLeave();
replyToTopic(new AdminReply(true, null), not.getReplyTo(), not.getRequestMsgId(), not.getReplyMsgId());
} else {
super.handleAdminRequestNot(from, not);
}
}