Example #1
0
        public RepresentationResult(object r, CmlContext c)
        {
            representation = r;

            link_manager   = c.GetLinkManager();
            syncro_manager = c.GetSyncroManager();
        }
Example #2
0
        public EffigyLink(CmlContext context, EffigyClassInfo c)
        {
            target_info = context.GetTargetInfo();

            syncro_manager = context.GetSyncroManager();
            link_managers  = new Dictionary <object, LinkManager>();

            class_info = c;
        }
Example #3
0
        public CmlContext_Base(CmlTargetInfo t, LinkManager l, SyncroManager s)
        {
            target_info = t;

            link_manager   = l;
            syncro_manager = s;

            deferred_process_list = new DeferredProcessList();
        }
Example #4
0
        public CmlContext_Child(CmlContext p)
        {
            parent_context = p;

            @class               = parent_context.GetClass();
            unit_space           = parent_context.GetUnitSpace();
            fragment_space       = parent_context.GetFragmentSpace();
            representation_space = parent_context.GetRepresentationSpace();

            target_info           = parent_context.GetTargetInfo();
            link_manager          = parent_context.GetLinkManager();
            syncro_manager        = parent_context.GetSyncroManager();
            deferred_process_list = parent_context.GetDeferredProcessList();
        }
Example #5
0
        public LinkSyncroDaemon(LinkManager l, long li, SyncroManager s, long si, IEnumerable <KeyValuePair <string, long> > g)
        {
            link_manager   = l;
            syncro_manager = s;

            process_manager = new LinkedPeriodicProcessManager <PERIODIC_PROCESS_TYPE>();

            process_manager.Add(li, delegate() {
                link_manager.UpdateAll();
            });

            g.Process(p => process_manager.Add(p.Value, delegate() {
                link_manager.Update(p.Key);
            }));

            process_manager.Add(si, delegate() {
                syncro_manager.Update();
            });
        }
Example #6
0
 public void SetManager(SyncroManager m)
 {
     manager = m;
 }
Example #7
0
 public LinkSyncroDaemon(LinkManager l, SyncroManager s) : this(l, 125, s)
 {
 }
Example #8
0
 public LinkSyncroDaemon(LinkManager l, long li, SyncroManager s) : this(l, li, s, 16, new KeyValuePair <string, long>("priority", 16))
 {
 }
Example #9
0
 public LinkSyncroDaemon(LinkManager l, long li, SyncroManager s, long si, params KeyValuePair <string, long>[] g) : this(l, li, s, si, (IEnumerable <KeyValuePair <string, long> >)g)
 {
 }