AggregatableBinderInterface

interface AggregatableBinderInterface<T>

Interface for binder interfaces that can be aggregated as part of other binder interfaces.

The generic binder interface generator of the IVI service framework is able to generate a binder interface for interfaces that aggregate other interfaces. For this to work, the generic binder interface generator needs to map an aggregated interface to its corresponding binder interface and needs a generic way to implemented the aggregation. For the latter the aggregated binder interface needs to implement the AggregatableBinderInterface interface.

The binder interface that can be aggregated must not inherit the corresponding interface directly. Instead it need to specify it as interface parameter T. This indirect way of inheriting the interface makes it possible to leave it to the binder interface implementation how multi threading issues are resolved and leave the generic binder interface generator free from binder interface implementation specific details.

Properties

Link copied to clipboard
abstract val aggregatedInterface: T

The interface that can be aggregated in another interface.