C# Class Brunet.Security.PeerSec.DataPacket

Just an abstract packet class. This is thread-safe.
显示文件 Open project: pstjuste/brunet

Protected Properties

Property Type Description
_icpacket ICopyable
_packet MemBlock
_update_icpacket bool
_update_packet bool

Public Methods

Method Description
DataPacket ( ) : Brunet
DataPacket ( ICopyable packet ) : Brunet

Protected Methods

Method Description
UpdatePacket ( ) : void

Method Details

DataPacket() public method

public DataPacket ( ) : Brunet
return Brunet

DataPacket() public method

public DataPacket ( ICopyable packet ) : Brunet
packet ICopyable
return Brunet

UpdatePacket() protected method

protected UpdatePacket ( ) : void
return void

Property Details

_icpacket protected_oe property

The packet in ICopyable format.
protected ICopyable _icpacket
return ICopyable

_packet protected_oe property

The packet in MemBlock format
protected MemBlock _packet
return MemBlock

_update_icpacket protected_oe property

protected bool _update_icpacket
return bool

_update_packet protected_oe property

protected bool _update_packet
return bool