com.jukusoft.vertx.connection.clientserver.HandlerManager Maven / Gradle / Ivy
package com.jukusoft.vertx.connection.clientserver;
import com.jukusoft.vertx.serializer.SerializableObject;
public interface HandlerManager {
/**
* find handler for specific message
*
* @param cls class name of message
*
* @return handler or null, if no handler is registered
*/
public MessageHandler findHandler (Class cls);
public void register (Class cls, MessageHandler handler);
public void unregister (Class cls);
}