C# Class BitSharper.ListMessage

Abstract super class of classes with list based payload, i.e. InventoryMessage and GetDataMessage.
Inheritance: Message
Show file Open project: TangibleCryptography/BitSharper

Public Methods

Method Description
AddItem ( InventoryItem item ) : void
BitcoinSerializeToStream ( Stream stream ) : void

Protected Methods

Method Description
ListMessage ( NetworkParameters @params ) : System.Collections.Generic
ListMessage ( NetworkParameters @params, byte bytes ) : System.Collections.Generic
Parse ( ) : void

Method Details

AddItem() public method

public AddItem ( InventoryItem item ) : void
item InventoryItem
return void

BitcoinSerializeToStream() public method

public BitcoinSerializeToStream ( Stream stream ) : void
stream System.IO.Stream
return void

ListMessage() protected method

protected ListMessage ( NetworkParameters @params ) : System.Collections.Generic
@params NetworkParameters
return System.Collections.Generic

ListMessage() protected method

protected ListMessage ( NetworkParameters @params, byte bytes ) : System.Collections.Generic
@params NetworkParameters
bytes byte
return System.Collections.Generic

Parse() protected method

protected Parse ( ) : void
return void