Struct SctpCauseOnlyError
This structure captures all SCTP errors that don't have an additional parameter.
Implements
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 SourceSctpCauseOnlyError(SctpErrorCauseCode)
Declaration
public SctpCauseOnlyError(SctpErrorCauseCode causeCode)
Parameters
Type | Name | Description |
---|---|---|
SctpErrorCauseCode | causeCode |
Fields
| Improve this Doc View SourceSupportedErrorCauses
Declaration
public static readonly List<SctpErrorCauseCode> SupportedErrorCauses
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<SctpErrorCauseCode> |
Properties
| Improve this Doc View SourceCauseCode
Declaration
public SctpErrorCauseCode CauseCode { readonly get; }
Property Value
Type | Description |
---|---|
SctpErrorCauseCode |
Methods
| Improve this Doc View SourceGetErrorCauseLength(Boolean)
Declaration
public ushort GetErrorCauseLength(bool padded)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | padded |
Returns
Type | Description |
---|---|
System.UInt16 |
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 |