Show / Hide Table of Contents

Struct SctpCauseOnlyError

This structure captures all SCTP errors that don't have an additional parameter.

Implements
ISctpErrorCause
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public struct SctpCauseOnlyError : ISctpErrorCause
Remarks

Out of Resource: https://tools.ietf.org/html/rfc4960#section-3.3.10.4 Invalid Mandatory Parameter: https://tools.ietf.org/html/rfc4960#section-3.3.10.7 Cookie Received While Shutting Down: https://tools.ietf.org/html/rfc4960#section-3.3.10.10

Constructors

| Improve this Doc View Source

SctpCauseOnlyError(SctpErrorCauseCode)

Declaration
public SctpCauseOnlyError(SctpErrorCauseCode causeCode)
Parameters
Type Name Description
SctpErrorCauseCode causeCode

Fields

| Improve this Doc View Source

SupportedErrorCauses

Declaration
public static readonly List<SctpErrorCauseCode> SupportedErrorCauses
Field Value
Type Description
System.Collections.Generic.List<SctpErrorCauseCode>

Properties

| Improve this Doc View Source

CauseCode

Declaration
public SctpErrorCauseCode CauseCode { readonly get; }
Property Value
Type Description
SctpErrorCauseCode

Methods

| Improve this Doc View Source

GetErrorCauseLength(Boolean)

Declaration
public ushort GetErrorCauseLength(bool padded)
Parameters
Type Name Description
System.Boolean padded
Returns
Type Description
System.UInt16
| Improve this Doc View Source

WriteTo(Byte[], Int32)

Declaration
public int WriteTo(byte[] buffer, int posn)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 posn
Returns
Type Description
System.Int32

Implements

ISctpErrorCause

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX