Class GRpcServerInitializedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.lognet.springboot.grpc.context.GRpcServerInitializedEvent
- All Implemented Interfaces:
Serializable
public class GRpcServerInitializedEvent
extends org.springframework.context.ApplicationEvent
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionGRpcServerInitializedEvent(org.springframework.context.ApplicationContext context, io.grpc.Server server) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.ApplicationContextio.grpc.ServerMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
GRpcServerInitializedEvent
public GRpcServerInitializedEvent(org.springframework.context.ApplicationContext context, io.grpc.Server server)
-
-
Method Details
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
getServer
public io.grpc.Server getServer()
-