C# Class MindTouch.Clacks.Client.Tests.FakeSocket

Inheritance: ISocket
Show file Open project: MindTouch/MindTouch.Clacks Class Usage Examples

Public Properties

Property Type Description
ConnectedCalled int
DisposeCalled int
ReceiveCallback Func
ReceiveCalled int
SendCallback System.Action
SendCalled int

Public Methods

Method Description
Dispose ( ) : void
FakeSocket ( ) : System
Receive ( byte buffer, int offset, int size ) : int
Send ( byte buffer, int offset, int size ) : int

Method Details

Dispose() public method

public Dispose ( ) : void
return void

FakeSocket() public method

public FakeSocket ( ) : System
return System

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

Property Details

ConnectedCalled public property

public int ConnectedCalled
return int

DisposeCalled public property

public int DisposeCalled
return int

ReceiveCallback public property

public Func ReceiveCallback
return Func

ReceiveCalled public property

public int ReceiveCalled
return int

SendCallback public property

public Action,System SendCallback
return System.Action

SendCalled public property

public int SendCalled
return int