C# Class BookSleeve.RedisMessage

Datei anzeigen Open project: Malediction/Booksleeve Class Usage Examples

Public Methods

Method Description
Create ( int db, RedisLiteral command ) : RedisMessage
Create ( int db, RedisLiteral command, RedisParameter arg0 ) : RedisMessage
Create ( int db, RedisLiteral command, RedisParameter arg0, RedisParameter arg1 ) : RedisMessage
Create ( int db, RedisLiteral command, RedisParameter arg0, RedisParameter arg1, RedisParameter arg2 ) : RedisMessage
Create ( int db, RedisLiteral command, RedisParameter arg0, RedisParameter arg1, RedisParameter arg2, RedisParameter arg3 ) : RedisMessage
Create ( int db, RedisLiteral command, string arg0 ) : RedisMessage
Create ( int db, RedisLiteral command, string arg0, string arg1 ) : RedisMessage
Critical ( ) : RedisMessage
Expect ( RedisLiteral result ) : RedisMessage
ExpectOk ( ) : RedisMessage
ToString ( ) : string
Write ( Stream stream ) : void

Protected Methods

Method Description
RedisMessage ( int db, RedisLiteral command ) : System
WriteCommand ( Stream stream, int argCount ) : void
WriteRaw ( Stream stream, long value ) : void
WriteUnified ( Stream stream, RedisLiteral value ) : void
WriteUnified ( Stream stream, byte value ) : void
WriteUnified ( Stream stream, double value ) : void
WriteUnified ( Stream stream, long value ) : void
WriteUnified ( Stream stream, string value ) : void

Private Methods

Method Description
ChangeState ( MessageState from, MessageState to ) : bool
Complete ( RedisResult result ) : void
RedisMessage ( ) : System
SetMessageResult ( IMessageResult messageResult ) : void
ToString ( double value ) : string
ToString ( long value ) : string

Method Details

Create() public static method

public static Create ( int db, RedisLiteral command ) : RedisMessage
db int
command RedisLiteral
return RedisMessage

Create() public static method

public static Create ( int db, RedisLiteral command, RedisParameter arg0 ) : RedisMessage
db int
command RedisLiteral
arg0 RedisParameter
return RedisMessage

Create() public static method

public static Create ( int db, RedisLiteral command, RedisParameter arg0, RedisParameter arg1 ) : RedisMessage
db int
command RedisLiteral
arg0 RedisParameter
arg1 RedisParameter
return RedisMessage

Create() public static method

public static Create ( int db, RedisLiteral command, RedisParameter arg0, RedisParameter arg1, RedisParameter arg2 ) : RedisMessage
db int
command RedisLiteral
arg0 RedisParameter
arg1 RedisParameter
arg2 RedisParameter
return RedisMessage

Create() public static method

public static Create ( int db, RedisLiteral command, RedisParameter arg0, RedisParameter arg1, RedisParameter arg2, RedisParameter arg3 ) : RedisMessage
db int
command RedisLiteral
arg0 RedisParameter
arg1 RedisParameter
arg2 RedisParameter
arg3 RedisParameter
return RedisMessage

Create() public static method

public static Create ( int db, RedisLiteral command, string arg0 ) : RedisMessage
db int
command RedisLiteral
arg0 string
return RedisMessage

Create() public static method

public static Create ( int db, RedisLiteral command, string arg0, string arg1 ) : RedisMessage
db int
command RedisLiteral
arg0 string
arg1 string
return RedisMessage

Critical() public method

public Critical ( ) : RedisMessage
return RedisMessage

Expect() public method

public Expect ( RedisLiteral result ) : RedisMessage
result RedisLiteral
return RedisMessage

ExpectOk() public method

public ExpectOk ( ) : RedisMessage
return RedisMessage

RedisMessage() protected method

protected RedisMessage ( int db, RedisLiteral command ) : System
db int
command RedisLiteral
return System

ToString() public method

public ToString ( ) : string
return string

Write() public abstract method

public abstract Write ( Stream stream ) : void
stream Stream
return void

WriteCommand() protected method

protected WriteCommand ( Stream stream, int argCount ) : void
stream Stream
argCount int
return void

WriteRaw() protected static method

protected static WriteRaw ( Stream stream, long value ) : void
stream Stream
value long
return void

WriteUnified() protected static method

protected static WriteUnified ( Stream stream, RedisLiteral value ) : void
stream Stream
value RedisLiteral
return void

WriteUnified() protected static method

protected static WriteUnified ( Stream stream, byte value ) : void
stream Stream
value byte
return void

WriteUnified() protected static method

protected static WriteUnified ( Stream stream, double value ) : void
stream Stream
value double
return void

WriteUnified() protected static method

protected static WriteUnified ( Stream stream, long value ) : void
stream Stream
value long
return void

WriteUnified() protected static method

protected static WriteUnified ( Stream stream, string value ) : void
stream Stream
value string
return void