class ProtocolConfig extends AbstractConfig {

    public void destroy() {
        if (name != null) {
            ExtensionLoader.getExtensionLoader(Protocol.class).getExtension(name).destroy();
        }
    }

    public  ProtocolConfig();
    public  ProtocolConfig(String name);
    public  ProtocolConfig(String name, int port);

}