mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-22 15:38:33 +00:00
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@1 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
29 lines
958 B
Java
29 lines
958 B
Java
/*
|
|
* This file is part of JSTUN.
|
|
*
|
|
* Copyright (c) 2005 Thomas King <king@t-king.de> - All rights
|
|
* reserved.
|
|
*
|
|
* This software is licensed under either the GNU Public License (GPL),
|
|
* or the Apache 2.0 license. Copies of both license agreements are
|
|
* included in this distribution.
|
|
*/
|
|
|
|
package de.javawi.jstun.attribute;
|
|
|
|
import java.util.logging.Logger;
|
|
|
|
|
|
public class ResponseAddress extends MappedResponseChangedSourceAddressReflectedFrom {
|
|
private static Logger logger = Logger.getLogger("de.javawi.stun.attribute.ResponseAddress");
|
|
public ResponseAddress() {
|
|
super(MessageAttribute.MessageAttributeType.ResponseAddress);
|
|
}
|
|
|
|
public static MessageAttribute parse(byte[] data) throws MessageAttributeParsingException {
|
|
ResponseAddress ra = new ResponseAddress();
|
|
MappedResponseChangedSourceAddressReflectedFrom.parse(ra, data);
|
|
logger.finer("Message Attribute: Response Address parsed: " + ra.toString() + ".");
|
|
return ra;
|
|
}
|
|
}
|