vertx / io.vertx.rxjava.servicediscovery / ServiceReference / get

get

open fun <T : Any> get(): T

Gets the object to access the service. It can be a proxy, a client or whatever object. The type depends on the service type and the server itself. This method returns the Java version and primary facet of the object, use io.vertx.rxjava.servicediscovery.ServiceReference#getAs to retrieve the polyglot instance of the object or another facet..

Return
the object to access the service