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

grpcstarter.server.GrpcServerShutdownEvent Maven / Gradle / Ivy

There is a newer version: 3.4.1
Show newest version
package grpcstarter.server;

import io.grpc.Server;
import org.springframework.context.ApplicationEvent;

/**
 * Grpc server shutdown event, triggered when the gRPC server starts shutdown.
 *
 * @author Freeman
 */
public class GrpcServerShutdownEvent extends ApplicationEvent {

    public GrpcServerShutdownEvent(Server source) {
        super(source);
    }

    @Override
    public Server getSource() {
        return ((Server) super.getSource());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy