/*
p2pproxy Copyright (C) 2007  Jehan Monnier ()

AddressInfo.java - .

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
package org.linphone.p2pproxy.core.stun;

import java.net.InetSocketAddress;

public class AddressInfo {
   InetSocketAddress  mPublicAddress,mPrivateAddress;
}

@@ -859,57 +859,706 @@
 %0A   
-InetSocketAddress  mPublicAddress,mPrivateAddress;
+enum Mode %7B%0A        open%0A      , blockedUDP%0A      , fullCone%0A      , restrictedCone%0A      , portRestrictedCone%0A      , symmetric%0A      , symmetricUDPFirewall%0A      , unknown%0A   %7D%0A   private final InetSocketAddress mPrivateAddress;%0A   private InetSocketAddress mPublicAddress;%0A   private Mode mMode = Mode.unknown;%0A   %0A   AddressInfo(InetSocketAddress aPrivateAddress) %7B%0A      mPrivateAddress = aPrivateAddress;%0A   %7D%0A   public Mode getType() %7B%0A      return mMode;%0A   %7D%0A   public void setMode(Mode aMode) %7B%0A      mMode = aMode;%0A   %7D%0A   public InetSocketAddress getPrivateAddress() %7B%0A      return mPrivateAddress;%0A   %7D%0A   public InetSocketAddress getPublicAddress() %7B%0A      return mPrivateAddress;%0A   %7D
 %0A%7D%0A

add stun client