LumiSoft Mail Server User API
SIP_t_ViaParm Class
Namespaces > LumiSoft.Net.SIP.Header > SIP_t_ViaParm
Implements SIP "via-parm" value. Defined in RFC 3261.
Syntax
C#Visual BasicManaged C++
public class SIP_t_ViaParm : SIP_t_HeaderFieldValueWithParams
Public Class SIP_t_ViaParm _
	Inherits SIP_t_HeaderFieldValueWithParams
public ref class SIP_t_ViaParm : public SIP_t_HeaderFieldValueWithParams
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
SIP_t_ViaParmNew()
Defualt constructor.
Branch
Gets or sets branch ID. The branch ID 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.
static memberCreateBranch()
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 attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MulticastAddress
Gets multicast address from where actual SIP request was made. Value null means that parameter maddr doesn't exist.
Parameters
Gets via parameters.
(Inherited from SIP_t_HeaderFieldValueWithParams.)
ParametersToString()
Convert parameters to valid parameters string.
(Inherited from SIP_t_HeaderFieldValueWithParams.)
Parse(String)
Parses "via-parm" from specified value.
Parse(StringReader)
Parses "via-parm" from specified reader.
(Overrides SIP_t_HeaderFieldValue.Parse(StringReader).)
ParseParameters(StringReader)
Parses parameters from specified reader. Reader position must be where parameters begin.
(Inherited from SIP_t_HeaderFieldValueWithParams.)
ProtocolName
Gets sent protocol name. Normally this is always SIP.
ProtocolTransport
Gets sent protocol transport. Currently known values are: UDP,TCP,TLS,SCTP.
ProtocolVersion
Gets sent protocol version.
Received
Gets host from where actual SIP request was made. Value null means that parameter received doesn't exist.
ResponsePort
Gets or sets response port (rport). 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.
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
ToStringValue()
Converts this to valid "via-parm" value.
(Overrides SIP_t_HeaderFieldValue.ToStringValue().)
Remarks
 1RFC 3261 Syntax:
 2    via-parm          =  sent-protocol LWS sent-by *( SEMI via-params )
 3    via-params        =  via-ttl / via-maddr / via-received / via-branch / via-extension
 4    via-ttl           =  "ttl" EQUAL ttl
 5    via-maddr         =  "maddr" EQUAL host
 6    via-received      =  "received" EQUAL (IPv4address / IPv6address)
 7    via-branch        =  "branch" EQUAL token
 8    via-extension     =  generic-param
 9    sent-protocol     =  protocol-name SLASH protocol-version SLASH transport
10    protocol-name     =  "SIP" / token
11    protocol-version  =  token
12    transport         =  "UDP" / "TCP" / "TLS" / "SCTP" / other-transport
13    sent-by           =  host [ COLON port ]
14    ttl               =  1*3DIGIT ; 0 to 255
15
16    Via extentions:
17      // RFC 3486
18      via-compression  =  "comp" EQUAL ("sigcomp" / other-compression)
19      // RFC 3581
20      response-port  =  "rport" [EQUAL 1*DIGIT]
Inheritance Hierarchy

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)