Package org.opennms.core.grpc.common
Interface GrpcIpcServer
-
- All Known Implementing Classes:
GrpcIpcServerBuilder
public interface GrpcIpcServer
This Interface allows us to have a common Grpc Server for all IPC Services.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Properties
getProperties()
Get properties with which the service has started.void
startServer(io.grpc.BindableService bindableService)
Starts server, this will not immediately start server but schedules server start after certain delay.void
stopServer()
Stops the Server.
-
-
-
Method Detail
-
startServer
void startServer(io.grpc.BindableService bindableService) throws IOException
Starts server, this will not immediately start server but schedules server start after certain delay.- Parameters:
bindableService
- The service that needs to be added- Throws:
IOException
-
stopServer
void stopServer()
Stops the Server.
-
getProperties
Properties getProperties()
Get properties with which the service has started.
-
-