C# Class SWFProcessing.Swiffotron.Processor.Stores

Datei anzeigen Open project: WeeWorld/Swiffotron Class Usage Examples

Public Methods

Method Description
Interrogate ( string>.Dictionary info ) : void

Get some useful information for debug purposes letting us find out how things are set up. I should list them all here, really.

Open ( SwiffotronContext ctx, string key ) : Stream

Opens a stream from a store by its key string.

Register ( string name, ISwiffotronStore store ) : void
Save ( SwiffotronContext ctx, string key, byte data ) : string

Writes a block of data to the store specified in the fully qualified store key of the form [store name]:[store key]

Stores ( Configuration conf ) : System

Method Details

Interrogate() public method

Get some useful information for debug purposes letting us find out how things are set up. I should list them all here, really.
public Interrogate ( string>.Dictionary info ) : void
info string>.Dictionary An accumulating big map of arbitrary string->string data /// that you can pick apart and use as you so desire.
return void

Open() public method

Opens a stream from a store by its key string.
public Open ( SwiffotronContext ctx, string key ) : Stream
ctx SwiffotronContext
key string The key, including store prefix
return Stream

Register() public method

public Register ( string name, ISwiffotronStore store ) : void
name string
store ISwiffotronStore
return void

Save() public method

Writes a block of data to the store specified in the fully qualified store key of the form [store name]:[store key]
public Save ( SwiffotronContext ctx, string key, byte data ) : string
ctx SwiffotronContext
key string The store key
data byte The data to store as a byte array.
return string

Stores() public method

public Stores ( Configuration conf ) : System
conf Configuration
return System