[reSIProcate] IntergerCategory

Byron Campen bcampen at estacado.net
Wed Jul 4 09:32:37 CDT 2007


	To set IntegerCategory::mValue (or the more recent  
UInt32Category::mValue), you do the following:

IntegerCategory i;
i.value()=100;

A specific example of this is setting a Max-Forwards header:

SipMessage msg;
msg.header(h_MaxForwards).value()=20;

Best regards,
Byron Campen


> Hello,
>
> I tried to set the value of the mValue attribut of an  
> IntergerCategory object using param,
> but I did not find the name of the parameter in ParserCategory.
> Is it possible to do it like that?
>
> IntegerCategory i;
> i.param(<"I dont know">) = 100 ;
>
> Thanks
> Viet
>
> It's here! Your new message!
> Get new email alerts with the free Yahoo! Toolbar.
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070704/84431014/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070704/84431014/attachment.bin>


More information about the resiprocate-devel mailing list