Created
July 7, 2012 16:01
-
-
Save gra-moore/3067001 to your computer and use it in GitHub Desktop.
EventFeed Service Interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IEventFeedService | |
{ | |
void AssertSubscriber(string userName, IEnumerable<Uri> topicsOfInterest); | |
IEnumerable<IEvent> GetSubscriberTimeline(string userName, DateTime since); | |
IEnumerable<IEvent> GetTopicTimeline(string topicId, DateTime since); | |
void AssertTopic(Uri topicId, string label, string description); | |
dynamic GetEventData(IEvent feedEvent); | |
void RaiseEvent(string description, DateTime when, IEnumerable<string> topicIds, | |
Dictionary<string, object> eventProperties = null); | |
void RegisterInterest(string userName, string topicId); | |
void RemoveInterest(string userName, string topicId); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment