Home
last modified time | relevance | path

Searched refs:maxForwards (Results 1 – 7 of 7) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/header/
DMaxForwards.java50 protected int maxForwards; field in MaxForwards
67 return maxForwards; in getMaxForwards()
74 public void setMaxForwards(int maxForwards) in setMaxForwards() argument
76 if (maxForwards < 0 || maxForwards > 255) in setMaxForwards()
78 "bad max forwards value " + maxForwards); in setMaxForwards()
79 this.maxForwards = maxForwards; in setMaxForwards()
92 return buffer.append(maxForwards); in encodeBody()
99 return maxForwards == 0; in hasReachedZero()
105 if (maxForwards > 0) in decrementMaxForwards()
106 maxForwards--; in decrementMaxForwards()
DHeaderFactoryImpl.java550 public MaxForwardsHeader createMaxForwardsHeader(int maxForwards) in createMaxForwardsHeader() argument
552 if (maxForwards < 0 || maxForwards > 255) in createMaxForwardsHeader()
554 "bad maxForwards arg " + maxForwards); in createMaxForwardsHeader()
556 m.setMaxForwards(maxForwards); in createMaxForwardsHeader()
/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageFactoryImpl.java124 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createRequest() argument
128 || maxForwards == null || content == null in createRequest()
140 sipRequest.setMaxForwards(maxForwards); in createRequest()
180 List via, MaxForwardsHeader maxForwards, byte[] content, in createRequest() argument
184 || maxForwards == null || content == null in createRequest()
198 sipRequest.setMaxForwards(maxForwards); in createRequest()
233 List via, MaxForwardsHeader maxForwards) throws ParseException { in createRequest() argument
236 || maxForwards == null) in createRequest()
249 sipRequest.setMaxForwards(maxForwards); in createRequest()
288 MaxForwardsHeader maxForwards, Object content, in createResponse() argument
[all …]
DSIPMessage.java1078 public void setMaxForwards(MaxForwardsHeader maxForwards) { in setMaxForwards() argument
1079 this.setHeader(maxForwards); in setMaxForwards()
/external/nist-sip/java/javax/sip/message/
DMessageFactory.java18 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createRequest() argument
23 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createRequest() argument
28 MaxForwardsHeader maxForwards) throws ParseException; in createRequest() argument
34 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createResponse() argument
39 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, in createResponse() argument
44 MaxForwardsHeader maxForwards) throws ParseException; in createResponse() argument
/external/nist-sip/java/javax/sip/header/
DMaxForwardsHeader.java11 void setMaxForwards(int maxForwards) throws InvalidArgumentException; in setMaxForwards() argument
DHeaderFactory.java89 MaxForwardsHeader createMaxForwardsHeader(int maxForwards) in createMaxForwardsHeader() argument