Class ServiceContainer
java.lang.Object
io.vertx.rxjava3.grpc.server.ServiceContainer
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
- Direct Known Subclasses:
GrpcServer
A contract for registering gRPC service method handlers, without requiring
a specific transport.
Generated gRPC service stubs use this interface as their binding abstraction,
allowing them to work with any implementation - HTTP/2 via GrpcServer, event bus, etc.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceContainer(ServiceContainer delegate) ServiceContainer(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionaddService(Service service) Add a service to this server.booleaninthashCode()static ServiceContainerservices()Get a list of all services registered with this server.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ServiceContainer
-
ServiceContainer
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
addService
Add a service to this server.- Parameters:
service- the service to add- Returns:
- a reference to this, so the API can be used fluently
-
services
-
newInstance
-