C# Class Poderosa.XZModem.ZModem

ZMODEM protocol base class
Inheritance: ModemBase
Datei anzeigen Open project: poderosaproject/poderosa

Protected Properties

Property Type Description
_parent XZModemDialog

Public Methods

Method Description
OnReception ( Poderosa.Protocols.ByteDataFragment fragment ) : void

Protected Methods

Method Description
BuildBin16Header ( byte data, Header hdr ) : int
BuildBin32Header ( byte data, Header hdr ) : int
BuildHEXHeader ( byte data, Header hdr ) : int
DiscardAllIncomingData ( ) : void
IgnoreAllIncomingData ( ) : void
ProcessAbortByPeer ( ) : void
ProcessFileData ( byte data, int offset, int length ) : void
ProcessHeader ( Header hdr ) : void
PutBin ( byte data, int index, byte b ) : int
PutCRC16 ( byte data, int index, ushort crc ) : int
PutCRC32 ( byte data, int index, uint crc ) : int
PutHex ( byte data, int index, byte b ) : int
SendACK ( ) : void
SendAbortSequence ( ) : void
SendPacket ( byte data, int len ) : void
StartListening ( ) : void
ZModem ( XZModemDialog dialog ) : System

Private Methods

Method Description
CheckCRC ( CRCType crcType, byte data, int len ) : bool
CheckHeader ( CRCType crcType, byte data, int len, Header &hdr ) : bool
ParseFileInfo ( byte data, int offset, int length ) : void

Method Details

BuildBin16Header() protected method

protected BuildBin16Header ( byte data, Header hdr ) : int
data byte
hdr Header
return int

BuildBin32Header() protected method

protected BuildBin32Header ( byte data, Header hdr ) : int
data byte
hdr Header
return int

BuildHEXHeader() protected method

protected BuildHEXHeader ( byte data, Header hdr ) : int
data byte
hdr Header
return int

DiscardAllIncomingData() protected method

protected DiscardAllIncomingData ( ) : void
return void

IgnoreAllIncomingData() protected method

protected IgnoreAllIncomingData ( ) : void
return void

OnReception() public method

public OnReception ( Poderosa.Protocols.ByteDataFragment fragment ) : void
fragment Poderosa.Protocols.ByteDataFragment
return void

ProcessAbortByPeer() protected abstract method

protected abstract ProcessAbortByPeer ( ) : void
return void

ProcessFileData() protected abstract method

protected abstract ProcessFileData ( byte data, int offset, int length ) : void
data byte
offset int
length int
return void

ProcessHeader() protected abstract method

protected abstract ProcessHeader ( Header hdr ) : void
hdr Header
return void

PutBin() protected method

protected PutBin ( byte data, int index, byte b ) : int
data byte
index int
b byte
return int

PutCRC16() protected method

protected PutCRC16 ( byte data, int index, ushort crc ) : int
data byte
index int
crc ushort
return int

PutCRC32() protected method

protected PutCRC32 ( byte data, int index, uint crc ) : int
data byte
index int
crc uint
return int

PutHex() protected method

protected PutHex ( byte data, int index, byte b ) : int
data byte
index int
b byte
return int

SendACK() protected method

protected SendACK ( ) : void
return void

SendAbortSequence() protected method

protected SendAbortSequence ( ) : void
return void

SendPacket() protected method

protected SendPacket ( byte data, int len ) : void
data byte
len int
return void

StartListening() protected method

protected StartListening ( ) : void
return void

ZModem() protected method

protected ZModem ( XZModemDialog dialog ) : System
dialog XZModemDialog
return System

Property Details

_parent protected_oe property

protected XZModemDialog _parent
return XZModemDialog