C# Class Smuxi.Engine.SqliteMessageBuffer

Inheritance: Smuxi.Engine.MessageBufferBase
Mostra file Open project: meebey/smuxi Class Usage Examples

Private Properties

Property Type Description
Init void

Public Methods

Method Description
Add ( MessageModel msg ) : void
Clear ( ) : void
Contains ( MessageModel item ) : bool
Dispose ( ) : void
Flush ( ) : void
GetEnumerator ( ) : IEnumerator
GetRange ( int offset, int limit ) : IList
IndexOf ( MessageModel item ) : int
Insert ( int index, MessageModel item ) : void
Remove ( MessageModel item ) : bool
RemoveAt ( int offset ) : void
SqliteMessageBuffer ( string dbPath ) : System
SqliteMessageBuffer ( string sessionUsername, string protocol, string networkId, string chatId ) : System
this ( int offset ) : MessageModel

Private Methods

Method Description
Init ( ) : void

Method Details

Add() public method

public Add ( MessageModel msg ) : void
msg MessageModel
return void

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( MessageModel item ) : bool
item MessageModel
return bool

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetRange() public method

public GetRange ( int offset, int limit ) : IList
offset int
limit int
return IList

IndexOf() public method

public IndexOf ( MessageModel item ) : int
item MessageModel
return int

Insert() public method

public Insert ( int index, MessageModel item ) : void
index int
item MessageModel
return void

Remove() public method

public Remove ( MessageModel item ) : bool
item MessageModel
return bool

RemoveAt() public method

public RemoveAt ( int offset ) : void
offset int
return void

SqliteMessageBuffer() public method

public SqliteMessageBuffer ( string dbPath ) : System
dbPath string
return System

SqliteMessageBuffer() public method

public SqliteMessageBuffer ( string sessionUsername, string protocol, string networkId, string chatId ) : System
sessionUsername string
protocol string
networkId string
chatId string
return System

this() public method

public this ( int offset ) : MessageModel
offset int
return MessageModel