HdlcControlField Class

Class that creates/parses control filed of HDLC frame

Definition

Namespace: OddPrg.Protocols.Hdlc
Assembly: OddPrg.Frames.Hdlc (in OddPrg.Frames.Hdlc.dll) Version: 1.0.0.2 (1.0.0.2)
C#
public static class HdlcControlField
Inheritance
Object    HdlcControlField

Methods

Create_DISC Create control field for HDLC frame DISC (disconnect). This frame is used only in requests.
Create_I Create control field for HDLC frame type I (information).
Create_REJ Create control field for HDLC frame type REJ (reject).
Create_RNR Create control field for HDLC frame type RNR (receive not ready).
Create_RR Create control field for HDLC frame type RR (receive ready).
Create_SNRM Create control field for HDLC frame SNRM (set normal response mode). This frame is used only in requests.
Create_Test 
Create_UI Create control field for HDLC frame type UI (unnumbered information).
DisplayFrameType Returns frame identification for displaying using a control field of the frame.
Check_DISC Checks if controlField indicates a HDLC frame type DISC (disconnect).
Check_DM Checks if controlField indicates a HDLC frame type I (disconnected mode).
Check_FRMR Checks if controlField indicates a HDLC frame type FRMR (frame reject).
Check_I(Byte) Checks if controlField indicates a HDLC frame type I (information).
Check_I(Byte, Byte) Checks if controlField indicates a HDLC frame type I and if yes returns send sequence number.
Check_RD Checks if controlField indicates a HDLC frame type I (disconnected mode).
Check_REJ Checks if controlField indicates a HDLC frame type RR (receive ready).
Check_RNR Checks if controlField indicates a HDLC frame type RNR (receive not ready).
Check_RR Checks if controlField indicates a HDLC frame type RR (receive ready).
Check_SRNM Checks if controlField indicates a HDLC frame type SRNM (set normal response mode).
Check_Test Checks if controlField indicates a HDLC frame type Test.
Check_UA Checks if controlField indicates a HDLC frame type I (unnumbered acknowledgement).
Check_UI Checks if controlField indicates a HDLC frame type I (information).
IsPollBitSet Returns true if poll bit of control field is set, otherwise it returns false.
Parse_DM Parse control field of HDLC frame type DM (disconnected mode).
Parse_FRMR Parse control field of HDLC frame type FRMR (frame reject).
Parse_I Parse control field of HDLC frame type I (information).
Parse_RD Parse control field of HDLC frame type DM (disconnected mode).
Parse_REJ Parse control field of HDLC frame type REJ (reject).
Parse_RNR Parse control field of HDLC frame type RNR (receive not ready).
Parse_RR Parse control field of HDLC frame type RR (receive ready).
Parse_Test Parse control field of HDLC frame type Test.
Parse_UA Parse control field of HDLC frame type UA (unnumbered acknowledgement).
Parse_UI Parse control field of HDLC frame type I (information).
SetPollBit Sets poll bit of control field to 1.

See Also