Пример #1
0
 public static Task Publish(Event e)
 {
     var buffer = system.ActorOf<HubBuffer>("any");
     return buffer.Tell(new PublishEvent{Event = e});
 }
Пример #2
0
 public Notification(Event e, DateTime received, string hub)
 {
     Event = e;
     Received = received;
     Hub = hub;
 }