All Downloads are FREE. Search and download functionalities are using the official Maven repository.

prompto.debug.WebSocketDebugEventAdapterFactory Maven / Gradle / Ivy

The newest version!
package prompto.debug;

import prompto.config.IConfigurationReader;
import prompto.config.IDebugEventAdapterConfiguration;

public class WebSocketDebugEventAdapterFactory implements IDebugEventAdapterFactory {

	@Override
	public IDebugEventAdapter newAdapter(IDebugEventAdapterConfiguration config) {
		return new WebSocketDebugEventAdapter();
	}
	
	@Override
	public IDebugEventAdapterConfiguration newConfiguration(IConfigurationReader reader) {
		return new IDebugEventAdapterConfiguration.Inline().withFactory(this.getClass().getName());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy