Add admin flag

This commit is contained in:
heavyrain lee
2019-04-26 08:02:14 +08:00
parent 1d309816ba
commit 9fdc6c2e1b
18 changed files with 24 additions and 24 deletions
@@ -389,14 +389,14 @@ public class Server {
return hazelcastInstance;
}
public void internalRpcMsg(String fromUser, String clientId, byte[] message, int messageId, String from, String request) {
public void internalRpcMsg(String fromUser, String clientId, byte[] message, int messageId, String from, String request, boolean isAdmin) {
if (!m_initialized) {
LOG.error("Moquette is not started, internal message cannot be notify");
return;
}
LOG.debug("internalNotifyMsg");
m_processor.onRpcMsg(fromUser, clientId, message, messageId, from, request);
m_processor.onRpcMsg(fromUser, clientId, message, messageId, from, request, isAdmin);
}
public void stopServer() {