C# Class SipSharp.Messages.Headers.CSeq

Transaction identifier

The CSeq header field serves as a way to identify and order transactions. It consists of a sequence number and a method. The method MUST match that of the request. For non-REGISTER requests outside of a dialog, the sequence number value is arbitrary. The sequence number value MUST be expressible as a 32-bit unsigned integer and MUST be less than 2**31. As long as it follows the above guidelines, a client may use any mechanism it would like to select CSeq header field values.

Inheritance: IHeader
ファイルを表示 Open project: jgauffin/SipSharp

Public Properties

Property Type Description
Empty CSeq

Private Properties

Property Type Description

Public Methods

Method Description
CSeq ( ) : System

Initializes a new instance of the CSeq class.

CSeq ( int seqNr, string method ) : System

Initializes a new instance of the CSeq class.

Clone ( ) : object

Creates a new object that is a copy of the current instance.

Equals ( IHeader other ) : bool

Indicates whether the current object is equal to another object of the same type.

Equals ( object obj ) : bool
ToString ( ) : string

Method Details

CSeq() public method

Initializes a new instance of the CSeq class.
public CSeq ( ) : System
return System

CSeq() public method

Initializes a new instance of the CSeq class.
public CSeq ( int seqNr, string method ) : System
seqNr int Sequence number.
method string SIP method.
return System

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object

Equals() public method

Indicates whether the current object is equal to another object of the same type.
public Equals ( IHeader other ) : bool
other IHeader An object to compare with this object. ///
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

ToString() public method

public ToString ( ) : string
return string

Property Details

Empty public_oe static_oe property

Unspecified sequence number.
public static CSeq,SipSharp.Messages.Headers Empty
return CSeq