C# Class Droog.Beanstalk.Client.Test.MockSocket

Inheritance: ISocket
Mostra file Open project: sdether/libBeanstalk.NET Class Usage Examples

Public Properties

Property Type Description
DisposeCalled int

Public Methods

Method Description
Dispose ( ) : void
Expect ( string sent, string received ) : void
MockSocket ( ) : System.Collections.Generic
Receive ( byte buffer, int offset, int size ) : int
Send ( byte buffer, int offset, int size ) : int
Verify ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Expect() public method

public Expect ( string sent, string received ) : void
sent string
received string
return void

MockSocket() public method

public MockSocket ( ) : System.Collections.Generic
return System.Collections.Generic

Receive() public method

public Receive ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
return int

Send() public method

public Send ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
return int

Verify() public method

public Verify ( ) : void
return void

Property Details

DisposeCalled public_oe property

public int DisposeCalled
return int