• Articles
  • Api Documentation
Search Results for

    Show / Hide Table of Contents
    • SipLib.Body
      • BodyParser
      • ContentTypes
      • MessageContentsContainer
      • MultipartBinaryBodyBuilder
      • SipBodyBuilder
    • SipLib.Channels
      • AcceptCertificateDelegate
      • AcceptConnectionDelegate
      • DscpSettings
      • LogInvalidSipMessageDelegate
      • LogSipRequestDelegate
      • LogSipResponseDelegate
      • Qos
      • SIPChannel
      • SIPConnection
      • SIPConnectionDisconnectedDelegate
      • SIPConnectionsEnum
      • SIPMessageReceivedDelegate
      • SIPTCPChannel
      • SIPTLSChannel
      • SIPUDPChannel
      • SipConnectionFailedDelegate
      • SipRequestReceivedDelegate
      • SipResponseReceivedDelegate
      • SipTransactionCompleteDelegate
      • WindowsQos
    • SipLib.Collections
      • ThreadSafeGenericList<T>
    • SipLib.Core
      • ByteBufferInfo
      • CallProperties
      • Crypto
      • HTTPDigest
      • IPSocket
      • SIPAuthenticationHeader
      • SIPAuthorisationDigest
      • SIPAuthorisationHeadersEnum
      • SIPCallInfoHeader
      • SIPConstants
      • SIPContactHeader
      • SIPEndPoint
      • SIPEscape
      • SIPFrag
      • SIPFromHeader
      • SIPGeolocationHeader
      • SIPHeader
      • SIPHeaders
      • SIPMessage
      • SIPMessageTypesEnum
      • SIPMethods
      • SIPMethodsEnum
      • SIPPaiHeader
      • SIPParameters
      • SIPPpiHeader
      • SIPProtocolsEnum
      • SIPProtocolsType
      • SIPReplacesParameter
      • SIPRequest
      • SIPResponse
      • SIPResponseStatusCodes
      • SIPResponseStatusCodesEnum
      • SIPRoute
      • SIPRouteSet
      • SIPSchemesEnum
      • SIPSchemesType
      • SIPToHeader
      • SIPURI
      • SIPUserField
      • SIPValidationException
      • SIPValidationFieldsEnum
      • SIPViaHeader
      • SIPViaSet
      • SipUtils
      • TypeExtensions
    • SipLib.Dtls
      • AlertLevelsEnum
      • AlertTypesEnum
      • DtlsClientUdpTransport
      • DtlsServerUdpTransport
      • DtlsSrtpClient
      • DtlsSrtpServer
      • DtlsSrtpTransport
      • DtlsUtils
      • IDtlsSrtpPeer
      • IPacketTransformer
      • ITransformEngine
      • NetConvert
      • RTCDtlsFingerprint
      • RawPacket
      • SrtcpCryptoContext
      • SrtpPolicy
      • SrtpTransformEngine
      • SrtpTransformer
    • SipLib.Logging
      • SipLogger
    • SipLib.Media
      • ALawDecoder
      • ALawEncoder
      • AudioDestination
      • AudioDestinationDelegate
      • AudioSampleData
      • AudioSamplesReadyDelegate
      • AudioSource
      • Band
      • DtmfDigitReceivedDelegate
      • FileAudioSource
      • G722Codec
      • G722CodecState
      • G722Decoder
      • G722Encoder
      • G722Flags
      • HighResolutionTimer
      • HighResolutionTimerDelegate
      • IAudioDecoder
      • IAudioEncoder
      • IAudioSampleSource
      • MediaPortManager
      • MediaPortSettings
      • MediaTypes
      • MsrpEncryptionEnum
      • MuLawDecoder
      • MuLawEncoder
      • PcmaDecoder
      • PcmaEncoder
      • PcmuDecoder
      • PcmuEncoder
      • PortRange
      • RtpEncryptionEnum
    • SipLib.Msrp
      • ByteRangeHeader
      • CpimMessage
      • MsrpCompletionStatus
      • MsrpConnection
      • MsrpConnectionStatusDelegate
      • MsrpMessage
      • MsrpMessageDeliveryFailedDelegate
      • MsrpMessageReceivedDelegate
      • MsrpMessageSentDelegate
      • MsrpMessageType
      • MsrpPathHeader
      • MsrpStatusHeader
      • MsrpStreamParser
      • MsrpTextMessageReceivedDelegate
      • MsrpUri
      • ReportReceivedDelegate
    • SipLib.Network
      • IpUtils
    • SipLib.RealTimeText
      • RttCharactersReceivedDelegate
      • RttParameters
      • RttReceiver
      • RttRtpSendDelegate
      • RttSender
    • SipLib.Rtp
      • ByePacket
      • DtlsHandshakeFailedDelegate
      • DtmfEventEnum
      • DtmfPacket
      • JitterStatistics
      • MeanOpinionScore
      • ReceiveStatisticsReadyDelegate
      • ReceiverReport
      • ReportBlock
      • RtcpCompoundPacket
      • RtcpHeader
      • RtcpPacketReceivedDelegate
      • RtcpPacketSentDelegate
      • RtcpPacketType
      • RtpChannel
      • RtpPacket
      • RtpPacketReceivedDelegate
      • RtpPacketSentDelegate
      • RtpReceiveStatistics
      • RtpUtils
      • SdesChunk
      • SdesItem
      • SdesItemType
      • SdesPacket
      • SenderInfo
      • SenderReport
    • SipLib.RtpCrypto
      • AesFunctions
      • CryptoAttribute
      • CryptoContext
      • CryptoSuites
      • InlineParams
      • MasterKeys
      • RocVals
      • RocValues
      • SRtpErrorsEnum
      • SRtpUtils
      • SessionKeys
      • SrtpDecryptor
      • SrtpEncryptor
      • SrtpLabelItem
      • SrtpTransformBase
    • SipLib.Sdp
      • ConnectionData
      • MediaDescription
      • MediaDirectionEnum
      • Origin
      • RtpMapAttribute
      • Sdp
      • SdpAnswerSettings
      • SdpAttribute
      • SdpUtils
      • SetupType
    • SipLib.Threading
      • QueuedActionWorkerTask
    • SipLib.Transactions
      • ClientInviteTransaction
      • ClientNonInviteTransaction
      • ServerInviteTransaction
      • ServerNonInviteTransaction
      • SipTimers
      • SipTransactionBase
      • SipTransport
      • TransactionRequestReceivedDelegate
      • TransactionResponseReceivedDelegate
      • TransactionStateEnum
      • TransactionTerminationReasonEnum
    • SipLib.Video
      • H264Depacketiser
      • H264Packetiser
      • H264Packetiser.H264Nal
      • H264RtpReceiver
      • H264RtpSender
      • RtpSendDelegate
      • RtpVP8Header
      • VP8RtpReceiver
      • VP8RtpSender
      • VideoRtpReceiver
      • VideoRtpSender

    Class CpimMessage

    Class for Common Profile for Instant Messaging (CPIM) messages defined by RFC 3862. CPIM messages are not used in standalone manner in NG9-1-1 applications. They are always encapsulated in MSRP messages.

    Inheritance
    object
    CpimMessage
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SipLib.Msrp
    Assembly: SipLib.dll
    Syntax
    public class CpimMessage

    Constructors

    | Edit this page View Source

    CpimMessage()

    Default constructor

    Declaration
    public CpimMessage()

    Fields

    | Edit this page View Source

    NS

    Gets or sets the list of Name Space (NS) headers. Optional. Initialized to an empty string. NS headers are not used in this implementation and are treated as simple strings.

    Declaration
    public List<string> NS
    Field Value
    Type Description
    List<string>
    | Edit this page View Source

    NonStandardHeaders

    Stores unknown or non-standard headers lines (header: headervalue). Initialized to an empty list.

    Declaration
    public List<string> NonStandardHeaders
    Field Value
    Type Description
    List<string>

    Properties

    | Edit this page View Source

    Body

    Gets or sets the contents (body) of the message.

    Declaration
    public byte[]? Body { get; set; }
    Property Value
    Type Description
    byte[]
    | Edit this page View Source

    ContentID

    Gets or set the Content-ID header value. Optional.

    Declaration
    public string? ContentID { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ContentType

    Gets or sets the Content-Type header value. Required. Must be set to a valid MIME type such as text/plain.

    Declaration
    public string? ContentType { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    DateTime

    Gets or sets the value of the DateTime header field. Optional. A value of DateTime.MinValue indicates that the DateTime header is not present.

    Declaration
    public DateTime DateTime { get; set; }
    Property Value
    Type Description
    DateTime
    | Edit this page View Source

    From

    Gets or sets the From header. Required.

    Declaration
    public SIPUserField? From { get; set; }
    Property Value
    Type Description
    SIPUserField
    | Edit this page View Source

    Require

    Gets or sets the value of the Require header field. Optional.

    Declaration
    public string? Require { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Subject

    Gets or sets the a list of Subject header values. Optional. Initialized to an empty list.

    Declaration
    public List<string> Subject { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    To

    Gets or sets a list of To header fields. Initialized to an empty list. The list must contain at least one To header

    Declaration
    public List<SIPUserField> To { get; set; }
    Property Value
    Type Description
    List<SIPUserField>
    | Edit this page View Source

    cc

    Gets or sets the list of cc header fields. Initialized to an empty list. cc headers are optional.

    Declaration
    public List<SIPUserField> cc { get; set; }
    Property Value
    Type Description
    List<SIPUserField>

    Methods

    | Edit this page View Source

    ParseCpimBytes(byte[])

    Parses a CPIM message contained in a byte array.

    Declaration
    public static CpimMessage? ParseCpimBytes(byte[] cpimBytes)
    Parameters
    Type Name Description
    byte[] cpimBytes

    Input message

    Returns
    Type Description
    CpimMessage

    Returns a new CpimMessage object if successful or null is a parsing error occurred

    | Edit this page View Source

    ToByteArray()

    Converts this object into a byte array so that it may be encapsulated in a MSRP message.

    Declaration
    public byte[] ToByteArray()
    Returns
    Type Description
    byte[]

    Returns a UTF8 encoded byte array.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX