@Override
protected Object invoke0(String name, Object[] params, String[] signature) throws Exception {
if (name.equals("findSessions")) {
IoSessionFinder finder = new IoSessionFinder((String) params[0]);
return finder.find(getSource().getManagedSessions().values());
}
if (name.equals("findAndRegisterSessions")) {
IoSessionFinder finder = new IoSessionFinder((String) params[0]);
Set<IoSession> registeredSessions = new LinkedHashSet<IoSession>();