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