Beispiel #1
0
 public void Enqueue(EndpointEntry ep, object obj)
 {
     Base.Current.Log.Add("PUSH DispatcherPrimitive: Message enqueued " + ep.endpoint);
     _messageQueue.Enqueue(new Entry {
         EndpointEntry = ep, Payload = obj
     });
 }
Beispiel #2
0
 public virtual object DoRegister([FromBody] EndpointEntry ep)
 {
     try
     {
         Current.PushDispatcher.Register(ep);
         return(true);
     } catch (Exception e)
     {
         Base.Current.Log.Add(e);
         return(false);
     }
 }
Beispiel #3
0
 public virtual void Deregister(EndpointEntry ep)
 {
 }
Beispiel #4
0
 public virtual void Send(EndpointEntry ep, object obj)
 {
 }