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

grpcstarter.server.GrpcServer Maven / Gradle / Ivy

package grpcstarter.server;

import jakarta.annotation.Nullable;
import org.springframework.context.SmartLifecycle;

/**
 * @author Freeman
 */
public interface GrpcServer extends SmartLifecycle {

    /**
     * Get the port the server is listening on.
     *
     * @return port number
     */
    int getPort();

    /**
     * Get the server object.
     */
    @Nullable
    Object getServer();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy