
com.github.thorbenkuck.netcom2.auto.ServerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of NetCom2-Auto Show documentation
Show all versions of NetCom2-Auto Show documentation
Annotation approach to reduce boilerplate code
The newest version!
package com.github.thorbenkuck.netcom2.auto;
import com.github.thorbenkuck.netcom2.network.server.ConnectorCore;
import com.github.thorbenkuck.netcom2.network.server.ServerStart;
public interface ServerFactory {
ServerFactory use(ObjectRepository objectRepository);
ServerFactoryFinalizer use(ServerStart serverStart);
ServerFactoryFinalizer at(int port);
ServerFactoryFinalizer asNIO(int port);
ServerFactoryFinalizer asTCP(int port);
ServerFactoryFinalizer asUDP(int port);
ServerFactoryFinalizer as(int port, ConnectorCore connectorCore);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy