C# Class fitSharp.Samples.TestSocket

Inheritance: SocketModel
Mostrar archivo Open project: jediwhale/fitsharp Class Usage Examples

Public Properties

Property Type Description
isOpen bool

Public Methods

Method Description
Clear ( ) : void
Close ( ) : void
GetByteString ( ) : string
GetBytes ( ) : byte[]
PutByteString ( string bytes ) : void
PutBytes ( ICollection bytes ) : void
Receive ( byte bytes, int offset, int bytesToRead ) : int
Send ( byte buffer ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

Close() public method

public Close ( ) : void
return void

GetByteString() public method

public GetByteString ( ) : string
return string

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

PutByteString() public method

public PutByteString ( string bytes ) : void
bytes string
return void

PutBytes() public method

public PutBytes ( ICollection bytes ) : void
bytes ICollection
return void

Receive() public method

public Receive ( byte bytes, int offset, int bytesToRead ) : int
bytes byte
offset int
bytesToRead int
return int

Send() public method

public Send ( byte buffer ) : void
buffer byte
return void

Property Details

isOpen public_oe property

public bool isOpen
return bool