object EventBusService
- Alphabetic
- By Inheritance
- EventBusService
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(asJava: servicediscovery.types.EventBusService): EventBusService
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
createRecord(name: String, address: String, classname: String): Record
Creates a record based on the parameters.
Creates a record based on the parameters.
- name
the service name
- address
the address
- classname
the payload class
- returns
the recordsee Record
-
def
createRecord(name: String, address: String, itf: String, metadata: JsonObject): Record
Sugar method to creates a record for this type.
Sugar method to creates a record for this type.
The java interface is added to the metadata in the
service.interface
key.- name
the name of the service.
- address
the event bus address on which the service available
- itf
the Java interface (name)
- metadata
the metadata
- returns
the created recordsee Record
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getServiceProxy[T](discovery: ServiceDiscovery, filter: (Record) ⇒ Boolean, clientClass: Class[T], resultHandler: Handler[AsyncResult[T]])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service). This is a convenient method to avoid explicit lookup and then retrieval of the service. This method requires to have the
clientClass
set with the expected set of client. This is important for usages not using Java so you can pass the expected type.- discovery
the service discovery
- filter
the filter
- clientClass
the client class
- resultHandler
the result handler
- returns
null
- do not use
-
def
getServiceProxyWithJsonFilter[T](discovery: ServiceDiscovery, filter: JsonObject, clientClass: Class[T], resultHandler: Handler[AsyncResult[T]])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service). This is a convenient method to avoid explicit lookup and then retrieval of the service. This method requires to have the
clientClass
set with the expected set of client. This is important for usages not using Java so you can pass the expected type.- discovery
the service discovery
- filter
the filter as json object
- clientClass
the client class
- resultHandler
the result handler
- returns
null
- do not use
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )