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

grpcstarter.server.GrpcServerTerminatedEvent 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 terminated event, triggered when the gRPC server is terminated.
 *
 * @author Freeman
 */
public class GrpcServerTerminatedEvent extends ApplicationEvent {

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy