Unsupported library that attempts to punch holes through NAT
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

UnknownMessageAttributeException.java 499B

123456789101112131415161718
  1. package de.javawi.jstun.attribute;
  2. import de.javawi.jstun.attribute.MessageAttributeInterface.MessageAttributeType;
  3. public class UnknownMessageAttributeException extends MessageAttributeParsingException {
  4. private static final long serialVersionUID = 5375193544145543299L;
  5. private MessageAttributeType type;
  6. public UnknownMessageAttributeException(String mesg, MessageAttributeType type) {
  7. super(mesg);
  8. this.type = type;
  9. }
  10. public MessageAttributeType getType() {
  11. return type;
  12. }
  13. }