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

grpcstarter.server.GrpcServerStartedEvent Maven / Gradle / Ivy

package grpcstarter.server;

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

/**
 * Grpc server started event.
 *
 * 

Can use to get the random server port. * * @author Freeman */ public class GrpcServerStartedEvent extends ApplicationEvent { public GrpcServerStartedEvent(Server source) { super(source); } @Override public Server getSource() { return ((Server) super.getSource()); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy