public interface MessageInterceptor
void init(String agentId, String agentName, Properties properties)
agentId
- the string representation of agentIdagentName
- the agent nameproperties
- the properties come from the clientboolean handle(Message msg, int key)
msg
- the messagekey
- the connection key, on destination key=-1Copyright © 2016 ScalAgent D.T.. All Rights Reserved.