IMaster constructor

IMaster(
  1. FbInterface self
)

Construct a wrapper around the native IMaster interface. The self argument should be the raw pointer returned by FbClient.fbGetMasterInterface method.

Implementation

IMaster(super.self) {
  startIndex = super.startIndex + super.methodCount;
  methodCount = 12;
  var idx = startIndex;
  _getStatus =
      Pointer<NativeFunction<FbInterface Function(FbInterface)>>.fromAddress(
              vtable[idx++])
          .asFunction();
  _getDispatcher =
      Pointer<NativeFunction<FbInterface Function(FbInterface)>>.fromAddress(
              vtable[idx++])
          .asFunction();
  _getPluginManager =
      Pointer<NativeFunction<FbInterface Function(FbInterface)>>.fromAddress(
              vtable[idx++])
          .asFunction();
  _getTimerControl =
      Pointer<NativeFunction<FbInterface Function(FbInterface)>>.fromAddress(
              vtable[idx++])
          .asFunction();
  _getDtc =
      Pointer<NativeFunction<FbInterface Function(FbInterface)>>.fromAddress(
              vtable[idx++])
          .asFunction();
  _registerAttachment = Pointer<
          NativeFunction<
              FbInterface Function(FbInterface, FbInterface,
                  FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _registerTransaction = Pointer<
          NativeFunction<
              FbInterface Function(FbInterface, FbInterface,
                  FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _getMetadataBuilder = Pointer<
          NativeFunction<
              FbInterface Function(FbInterface, FbInterface,
                  UnsignedInt)>>.fromAddress(vtable[idx++])
      .asFunction();
  _serverMode =
      Pointer<NativeFunction<Int Function(FbInterface, Int)>>.fromAddress(
              vtable[idx++])
          .asFunction();
  _getUtilInterface =
      Pointer<NativeFunction<FbInterface Function(FbInterface)>>.fromAddress(
              vtable[idx++])
          .asFunction();
  _getConfigManager =
      Pointer<NativeFunction<FbInterface Function(FbInterface)>>.fromAddress(
              vtable[idx++])
          .asFunction();
  _getProcessExiting =
      Pointer<NativeFunction<FbBoolean Function(FbInterface)>>.fromAddress(
              vtable[idx++])
          .asFunction();
}