Record Class DefaultRPCImplementationBuilder.DefaultInstanceAllocator<T>

java.lang.Object
java.lang.Record
eu.cloudnetservice.driver.network.rpc.defaults.generation.DefaultRPCImplementationBuilder.DefaultInstanceAllocator<T>
Type Parameters:
T - the type that is being constructed by the allocator.
Record Components:
baseRPC - the base rpc to use for the constructed rpc implementation.
classRPCSender - the rpc sender to use for the generated class.
channelSupplier - thw channel supplier to use for rpc executions.
additionalConstructorParameters - the additional super constructor parameters.
internalInstanceFactory - the internal instance factory to delegate to.
All Implemented Interfaces:
RPCImplementationBuilder.InstanceAllocator<T>
Enclosing class:
DefaultRPCImplementationBuilder<T>

private static record DefaultRPCImplementationBuilder.DefaultInstanceAllocator<T>(@Nullable ChainableRPC baseRPC, @NonNull RPCSender classRPCSender, @NonNull Supplier<NetworkChannel> channelSupplier, @NonNull Object[] additionalConstructorParameters, @NonNull RPCInternalInstanceFactory internalInstanceFactory) extends Record implements RPCImplementationBuilder.InstanceAllocator<T>
The default implementation of an instance allocator using an internal instance factory as delegation.
Since:
4.0