public void AddSubscriber(IMessageProc newMember) { if (subscribers.Contains(newMember) == false) { subscribers.Add(newMember); } }
public void RemoveSubscriber(IMessageProc remMember) { if (subscribers.Contains(remMember) == true) { subscribers.Remove(remMember); } }
public void Set(IMessageProc <Message> sender, IMessageProc <Message> receiver, int messageID, float dispatchTime) { Sender = sender; Receiver = receiver; DispatchTime = dispatchTime; ID = messageID; }
public void Set(IMessageProc<Message> sender, IMessageProc<Message> receiver, int messageID, float dispatchTime) { Sender = sender; Receiver = receiver; DispatchTime = dispatchTime; ID = messageID; }
public Service() { _Process = CicadaFacade.Container.Resolve <IMessageProc>(); _ApplePush = CicadaFacade.Container.Resolve <IMessagePush>("ApplePush"); _XiaoMiPush = CicadaFacade.Container.Resolve <IMessagePush>("XiaoMiPush"); _HuaWeiPush = CicadaFacade.Container.Resolve <IMessagePush>("HuaWeiPush"); //_FeedBackCheck= CicadaFacade.Container.Resolve<IMessagePush>("FeedBackCheck"); }
public void Set(IMessageProc<Message> sender, IMessageProc<Message> receiver, int messageID, float dispatchTime, MessageExtraInfo extraInfo) { Sender = sender; Receiver = receiver; DispatchTime = dispatchTime; ExtraInfo = extraInfo; ID = messageID; }
public virtual void Set(IMessageProc sender, IMessageProc receiver, int messageID, float dispatchTime, bool swallow) { Sender = sender; Receiver = receiver; DispatchTime = dispatchTime; ID = messageID; SwallowMSG = swallow; }
public void Set(IMessageProc <Message> sender, IMessageProc <Message> receiver, int messageID, float dispatchTime, MessageExtraInfo extraInfo) { Sender = sender; Receiver = receiver; DispatchTime = dispatchTime; ExtraInfo = extraInfo; ID = messageID; }
public void SetReceiver(IMessageProc<Message> newReceiver) { Receiver = newReceiver; }
public Message(IMessageProc<Message> sender, IMessageProc<Message> receiver, int messageID, float dispatchTime, MessageExtraInfo extraInfo) { Set(sender, receiver, messageID, dispatchTime, extraInfo); }
public virtual void SetReceiver(IMessageProc newReceiver) { Receiver = newReceiver; }
public PrivateMessageCenter(IMessageProc newOwner) { owner = newOwner; }
public void Set(IMessageProc sender, IMessageProc receiver, int messageID, float dispatchTime, bool swallow, MessageExtraInfoEx extraInfo) { Set(sender, receiver, messageID, dispatchTime, swallow); ExtraInfo = extraInfo; }
public Message(IMessageProc <Message> sender, IMessageProc <Message> receiver, int messageID, float dispatchTime, MessageExtraInfo extraInfo) { Set(sender, receiver, messageID, dispatchTime, extraInfo); }
public void SetReceiver(IMessageProc <Message> newReceiver) { Receiver = newReceiver; }