1 package javax.sip.header; 2 3 import javax.sip.InvalidArgumentException; 4 5 public interface MaxForwardsHeader extends Header { 6 String NAME = "Max-Forwards"; 7 decrementMaxForwards()8 void decrementMaxForwards() throws TooManyHopsException; 9 getMaxForwards()10 int getMaxForwards(); setMaxForwards(int maxForwards)11 void setMaxForwards(int maxForwards) throws InvalidArgumentException; 12 hasReachedZero()13 boolean hasReachedZero(); 14 } 15