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