public KClientSession(Horizon system, KSession parent) : base(system) { _parent = parent; State = ChannelState.Open; CreatorProcess = system.Scheduler.GetCurrentProcess(); CreatorProcess.IncrementReferenceCount(); }
public KClientSession(KernelContext context, KSession parent) : base(context) { _parent = parent; State = ChannelState.Open; CreatorProcess = context.Scheduler.GetCurrentProcess(); CreatorProcess.IncrementReferenceCount(); }
public KClientSession(KernelContext context, KSession parent, KClientPort parentPort) : base(context) { _parent = parent; ParentPort = parentPort; parentPort?.IncrementReferenceCount(); State = ChannelState.Open; CreatorProcess = KernelStatic.GetCurrentProcess(); CreatorProcess.IncrementReferenceCount(); }