public static base_responses update ( nitro_service client , nstcpprofile resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nstcpprofile updateresources [ ] = new nstcpprofile [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new nstcpprofile ( ) ; updateresources [ i ] . name = resources [ i ] . name ; updateresources [ i ] . ws = resources [ i ] . ws ; updateresources [ i ] . sack = resources [ i ] . sack ; updateresources [ i ] . wsval = resources [ i ] . wsval ; updateresources [ i ] . nagle = resources [ i ] . nagle ; updateresources [ i ] . ackonpush = resources [ i ] . ackonpush ; updateresources [ i ] . mss = resources [ i ] . mss ; updateresources [ i ] . maxburst = resources [ i ] . maxburst ; updateresources [ i ] . initialcwnd = resources [ i ] . initialcwnd ; updateresources [ i ] . delayedack = resources [ i ] . delayedack ; updateresources [ i ] . oooqsize = resources [ i ] . oooqsize ; updateresources [ i ] . maxpktpermss = resources [ i ] . maxpktpermss ; updateresources [ i ] . pktperretx = resources [ i ] . pktperretx ; updateresources [ i ] . minrto = resources [ i ] . minrto ; updateresources [ i ] . slowstartincr = resources [ i ] . slowstartincr ; updateresources [ i ] . buffersize = resources [ i ] . buffersize ; updateresources [ i ] . syncookie = resources [ i ] . syncookie ; updateresources [ i ] . kaprobeupdatelastactivity = resources [ i ] . kaprobeupdatelastactivity ; updateresources [ i ] . flavor = resources [ i ] . flavor ; updateresources [ i ] . dynamicreceivebuffering = resources [ i ] . dynamicreceivebuffering ; updateresources [ i ] . ka = resources [ i ] . ka ; updateresources [ i ] . kaconnidletime = resources [ i ] . kaconnidletime ; updateresources [ i ] . kamaxprobes = resources [ i ] . kamaxprobes ; updateresources [ i ] . kaprobeinterval = resources [ i ] . kaprobeinterval ; updateresources [ i ] . sendbuffsize = resources [ i ] . sendbuffsize ; updateresources [ i ] . mptcp = resources [ i ] . mptcp ; updateresources [ i ] . establishclientconn = resources [ i ] . establishclientconn ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update nstcpprofile resources .