Created
January 18, 2011 14:25
-
-
Save andreasohlund/784488 to your computer and use it in GitHub Desktop.
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
/// <summary> | |
/// The main interface for interactions with the databus | |
/// </summary> | |
public interface IDataBus | |
{ | |
/// <summary> | |
/// Gets a data item from the bus | |
/// </summary> | |
/// <param name="key"></param> | |
/// <returns></returns> | |
Stream Get(string key); | |
/// <summary> | |
/// Adds a data item to the bus and returns the assigned key | |
/// </summary> | |
/// <param name="stream"></param> | |
string Put(Stream stream); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment