C# Class ActivityStreams.Persistence.Cassandra.StreamStore

Inheritance: IStreamStore
Show file Open project: Elders/ActivityStreams

Public Methods

Method Description
Attach ( byte sourceStreamId, byte streamIdToAttach, long expiresAt ) : void
Detach ( byte sourceStreamId, byte streamIdToDetach, long detachedSince ) : void
Get ( byte streamId ) : ActivityStream
Load ( byte feedId ) : IEnumerable
StreamStore ( ISession session ) : System

Method Details

Attach() public method

public Attach ( byte sourceStreamId, byte streamIdToAttach, long expiresAt ) : void
sourceStreamId byte
streamIdToAttach byte
expiresAt long
return void

Detach() public method

public Detach ( byte sourceStreamId, byte streamIdToDetach, long detachedSince ) : void
sourceStreamId byte
streamIdToDetach byte
detachedSince long
return void

Get() public method

public Get ( byte streamId ) : ActivityStream
streamId byte
return ActivityStream

Load() public method

public Load ( byte feedId ) : IEnumerable
feedId byte
return IEnumerable

StreamStore() public method

public StreamStore ( ISession session ) : System
session ISession
return System