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

grpcstarter.server.GrpcServer Maven / Gradle / Ivy

There is a newer version: 3.4.1
Show newest version
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