DataModulesBinder

class DataModulesBinder(contactsDataModule: SolidContactsDataModule, ticketsDataModule: SolidTicketsDataModule, guard: AccessGuard, moduleRoots: ModuleRootResolver, scope: CoroutineScope, dispatcher: CoroutineDispatcher = Dispatchers.IO) : IASSDataModulesService.Stub

The IASSDataModulesService binder, hosting the contacts and tickets module interfaces.

Each verb is checked on its module at VerbAccess.READ, VerbAccess.APPEND or VerbAccess.WRITE; a verb that takes an explicit container is checked on that container instead, so a module-scoped app cannot place a book or a ticket outside the module. A verb that can add a container tells moduleRoots to forget the account, so the next check sees it. There is no model translation: the IPC surface speaks the in-process types.

Constructors

Link copied to clipboard
constructor(contactsDataModule: SolidContactsDataModule, ticketsDataModule: SolidTicketsDataModule, guard: AccessGuard, moduleRoots: ModuleRootResolver, scope: CoroutineScope, dispatcher: CoroutineDispatcher = Dispatchers.IO)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun asBinder(): IBinder?
Link copied to clipboard
open fun attachInterface(owner: IInterface?, descriptor: String?)
Link copied to clipboard
open fun dump(fd: FileDescriptor, args: Array<out String?>??)
Link copied to clipboard
open fun dumpAsync(fd: FileDescriptor, args: Array<out String?>??)
Link copied to clipboard
open fun linkToDeath(recipient: IBinder.DeathRecipient, flags: Int)
Link copied to clipboard
open fun onTransact(code: Int, data: Parcel, reply: Parcel?, flags: Int): Boolean
Link copied to clipboard
open fun pingBinder(): Boolean
Link copied to clipboard
open fun queryLocalInterface(descriptor: String): IInterface?
Link copied to clipboard
fun transact(code: Int, data: Parcel, reply: Parcel?, flags: Int): Boolean
Link copied to clipboard
open fun unlinkToDeath(recipient: IBinder.DeathRecipient, flags: Int): Boolean