public LazynetLuaService(ILazynetContext context, string filename) : base(context) { this.Filename = filename; this.Lua = new LazynetLua(); this.OpenLuaApi(); }
public LazynetService(ILazynetContext context) { this.Context = context; this.ID = context.GetGlobaServiceID(); this.Alias = this.ID.ToString(); this.MessageQueue = new Queue <LazynetServiceMessage>(); this.ThreadHandle = new Thread(this.ThreadMain); this.ManualEvent = new ManualResetEvent(true); this.State = LazynetServiceState.UnStart; this.NormalTriggerDict = new Dictionary <string, ILazynetTrigger>(); this.SystemTriggerDict = new Dictionary <string, ILazynetTrigger>(); this.SessionGroup = new LazynetDefaultSessionGroup(); this.RegisterSystemTrigger(); }
public LazynetActionProxy(ILazynetContext context) { this.ActionManager = new LazynetActionManager(); this.Context = context; }
public LazynetSharpService(ILazynetContext context) : base(context) { }