Exemple #1
0
 public static bool Subscribe(IBound obj, ISubscriber sub)
 {
     if ((obj != null) && (sub != null))
     {
         Subscribe(obj.GetUrl(), sub);
     }
     return(true);
 }
Exemple #2
0
 public static bool Unregister(IBound obj)
 {
     if (obj != null)
     {
         Unregister(obj.GetUrl());
     }
     return(true);
 }
Exemple #3
0
 public static bool Register(IBound obj)
 {
     if (obj != null)
     {
         Register(obj.GetUrl(), obj);
     }
     return(true);
 }
Exemple #4
0
 public static bool Publish(IBound obj)
 {
     if (obj != null)
     {
         Publish(obj.GetUrl(), obj);
     }
     return(true);
 }
Exemple #5
0
 public bool Exec()
 {
     RamDisk.Set(pos, len, val);
     Publisher.Publish(obj.GetUrl(), obj);
     return(Logger.Info("BindArray.Exec(" + len + ")"));
 }
Exemple #6
0
 public bool Exec()
 {
     RamDisk.SetS8(obj.GetPos() + delta, val);
     Publisher.Publish(obj.GetUrl(), obj);
     return(Logger.Info("BindS8.Exec(" + val + ")"));
 }