LumiSoft Net Help
SIP_t_ViaParm Class
NamespacesLumiSoft.Net.SIP.MessageSIP_t_ViaParm
Implements SIP "via-parm" value. Defined in RFC 3261.
Declaration Syntax
C#Visual BasicVisual C++F#
public class SIP_t_ViaParm : SIP_t_ValueWithParams
Public Class SIP_t_ViaParm
	Inherits SIP_t_ValueWithParams
public ref class SIP_t_ViaParm : public SIP_t_ValueWithParams
type SIP_t_ViaParm =  
    class
        inherit SIP_t_ValueWithParams
    end
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
SIP_t_ViaParm()()()()
Defualt constructor.

Branch
Gets or sets 'branch' parameter value. The branch parameter in the Via header field values serves as a transaction identifier. The value of the branch parameter MUST start with the magic cookie "z9hG4bK". Value null means that branch paramter doesn't exist.

Comp
Gets or sets 'comp' parameter value. Value null means not specified. Defined in RFC 3486.

CreateBranch()()()()
Creates new branch paramter value.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Maddr
Gets or sets 'maddr' parameter value. Value null means not specified.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Parameters
Gets via parameters.
(Inherited from SIP_t_ValueWithParams.)
ParametersToString()()()()
Convert parameters to valid parameters string.
(Inherited from SIP_t_ValueWithParams.)
Parse(String)
Parses "via-parm" from specified value.

Parse(StringReader)
Parses "via-parm" from specified reader.
(Overrides SIP_t_Value.Parse(StringReader).)
ParseParameters(StringReader)
Parses parameters from specified reader. Reader position must be where parameters begin.
(Inherited from SIP_t_ValueWithParams.)
ProtocolName
Gets sent protocol name. Normally this is always SIP.

ProtocolTransport
Gets sent protocol transport. Currently known values are: UDP,TCP,TLS,SCTP. This value is always in upper-case.

ProtocolVersion
Gets sent protocol version.

Received
Gets or sets 'received' parameter value. Value null means not specified.

RPort
Gets or sets 'rport' parameter value. Value -1 means not specified and value 0 means empty "" rport.

SentBy
Gets host name or IP with optional port. Examples: lumiosft.ee,10.0.0.1:80.

SentByPortWithDefault
Gets sent-by port, if no port explicity set, transport default is returned.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
ToStringValue()()()()
Converts this to valid "via-parm" value.
(Overrides SIP_t_Value.ToStringValue()()()().)
Ttl
Gets or sets 'ttl' parameter value. Value -1 means not specified.

Remarks
 Copy imageCopy
RFC 3261 Syntax:
    via-parm          =  sent-protocol LWS sent-by *( SEMI via-params )
    via-params        =  via-ttl / via-maddr / via-received / via-branch / via-extension
    via-ttl           =  "ttl" EQUAL ttl
    via-maddr         =  "maddr" EQUAL host
    via-received      =  "received" EQUAL (IPv4address / IPv6address)
    via-branch        =  "branch" EQUAL token
    via-extension     =  generic-param
    sent-protocol     =  protocol-name SLASH protocol-version SLASH transport
    protocol-name     =  "SIP" / token
    protocol-version  =  token
    transport         =  "UDP" / "TCP" / "TLS" / "SCTP" / other-transport
    sent-by           =  host [ COLON port ]
    ttl               =  1*3DIGIT ; 0 to 255

    Via extentions:
      // RFC 3486
      via-compression  =  "comp" EQUAL ("sigcomp" / other-compression)
      // RFC 3581
      response-port  =  "rport" [EQUAL 1*DIGIT]
Inheritance Hierarchy

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119