C# Class Test.DhtOpTester

Show file Open project: johnynek/brunet Class Usage Examples

Public Methods

Method Description
ArrayComparer ( byte array0, byte array1 ) : bool
ArrayToString ( byte array ) : string
CheckAllConnections ( ) : bool
Init ( ) : void
Main ( ) : void
ParallelCreate ( byte key, byte value, int ttl, bool expected_result, int &op ) : void
ParallelGet ( byte key, byte result, int &op ) : void
ParallelPut ( byte key, byte value, int ttl, bool expected_result, int &op ) : void
SerialAsyncGet ( byte key, byte results, int op ) : void
SerialAsyncGet ( object data ) : void
SerialCreate ( byte key, byte value, int ttl, bool expected_result, int op ) : void
SerialCreate ( object data ) : void
SerialGet ( byte key, byte results, int op ) : void
SerialGet ( object data ) : void
SerialPut ( byte key, byte value, int ttl, bool expected_result, int op ) : void
SerialPut ( object data ) : void
Shutdown ( ) : void
SystemTest ( ) : void
Test0 ( int &op ) : void
Test1 ( int &op ) : void
Test10 ( int &op ) : void
Test11 ( int &op ) : void
Test12 ( int &op ) : void
Test13 ( int &op ) : void
Test14 ( int &op ) : void
Test2 ( int &op ) : void
Test3 ( int &op ) : void
Test4 ( int &op ) : void
Test5 ( int &op ) : void
Test6 ( int &op ) : void
Test7 ( int &op ) : void
Test8 ( int &op ) : void
Test9 ( int &op ) : void

Method Details

ArrayComparer() public static method

public static ArrayComparer ( byte array0, byte array1 ) : bool
array0 byte
array1 byte
return bool

ArrayToString() public static method

public static ArrayToString ( byte array ) : string
array byte
return string

CheckAllConnections() public method

public CheckAllConnections ( ) : bool
return bool

Init() public method

public Init ( ) : void
return void

Main() public static method

public static Main ( ) : void
return void

ParallelCreate() public method

public ParallelCreate ( byte key, byte value, int ttl, bool expected_result, int &op ) : void
key byte
value byte
ttl int
expected_result bool
op int
return void

ParallelGet() public method

public ParallelGet ( byte key, byte result, int &op ) : void
key byte
result byte
op int
return void

ParallelPut() public method

public ParallelPut ( byte key, byte value, int ttl, bool expected_result, int &op ) : void
key byte
value byte
ttl int
expected_result bool
op int
return void

SerialAsyncGet() public method

public SerialAsyncGet ( byte key, byte results, int op ) : void
key byte
results byte
op int
return void

SerialAsyncGet() public method

public SerialAsyncGet ( object data ) : void
data object
return void

SerialCreate() public method

public SerialCreate ( byte key, byte value, int ttl, bool expected_result, int op ) : void
key byte
value byte
ttl int
expected_result bool
op int
return void

SerialCreate() public method

public SerialCreate ( object data ) : void
data object
return void

SerialGet() public method

public SerialGet ( byte key, byte results, int op ) : void
key byte
results byte
op int
return void

SerialGet() public method

public SerialGet ( object data ) : void
data object
return void

SerialPut() public method

public SerialPut ( byte key, byte value, int ttl, bool expected_result, int op ) : void
key byte
value byte
ttl int
expected_result bool
op int
return void

SerialPut() public method

public SerialPut ( object data ) : void
data object
return void

Shutdown() public method

public Shutdown ( ) : void
return void

SystemTest() public method

public SystemTest ( ) : void
return void

Test0() public method

public Test0 ( int &op ) : void
op int
return void

Test1() public method

public Test1 ( int &op ) : void
op int
return void

Test10() public method

public Test10 ( int &op ) : void
op int
return void

Test11() public method

public Test11 ( int &op ) : void
op int
return void

Test12() public method

public Test12 ( int &op ) : void
op int
return void

Test13() public method

public Test13 ( int &op ) : void
op int
return void

Test14() public method

public Test14 ( int &op ) : void
op int
return void

Test2() public method

public Test2 ( int &op ) : void
op int
return void

Test3() public method

public Test3 ( int &op ) : void
op int
return void

Test4() public method

public Test4 ( int &op ) : void
op int
return void

Test5() public method

public Test5 ( int &op ) : void
op int
return void

Test6() public method

public Test6 ( int &op ) : void
op int
return void

Test7() public method

public Test7 ( int &op ) : void
op int
return void

Test8() public method

public Test8 ( int &op ) : void
op int
return void

Test9() public method

public Test9 ( int &op ) : void
op int
return void