file header update

This commit is contained in:
emcho 2010-04-25 14:40:58 +00:00
parent fb8267afc8
commit 78f1393764
39 changed files with 239 additions and 340 deletions

View File

@ -1,19 +1,15 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j;
/**
* A StunException is thrown when a general STUN exception is encountered.
*
* <p>Copyright: Copyright (c) 2003</p>
* <p>Organization: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p>
* @author Emil Ivov
* @version 0.1
*/
public class StunException extends Exception
{

View File

@ -28,11 +28,7 @@ package org.ice4j.attribute;
* aligning parameters on natural boundaries. The IPv4 address is 32
* bits.
*
* <p>Copyright: Copyright (c) 2008</p>
* <p>Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Sebastien Vincent
* @version 0.1
*/
public class AlternateServerAttribute extends AddressAttribute

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -58,13 +58,9 @@ import org.ice4j.*;
* 0x8029: ICE-CONTROLLED <br/>
* 0x802A: ICE-CONTROLLING <br/>
*
* <p>Copyright: Copyright (c) 2003-2008</p>
* <p> Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p> Network Research Team (http://www-r2.u-strasbg.fr)</p>
* @author Emil Ivov
* @author Sebastien Vincent
* @author Namal Senarathne
* @version 0.1
*/
public abstract class Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -12,12 +12,8 @@ import org.ice4j.*;
* The class provides utilities for decoding a binary stream into an Attribute
* class.
*
* <p>Copyright: Copyright (c) 2003-2008</p>
* <p>Organization: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p>
* @author Emil Ivov
* @author Sebastien Vincent
* @version 0.1
*/
public class AttributeDecoder
{

View File

@ -1,24 +1,20 @@
/** Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
/*
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
import org.ice4j.*;
/**
*
* This class provides factory methods to allow an application to create
* STUN / TURN / ICE Attributes from a particular implementation.
*
* <p>Copyright: Copyright (c) 2003-2008</p>
* <p>Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @author Sebastien Vincent
* @author Namal Senarathne
* @version 0.1
*/
public class AttributeFactory
{

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -30,11 +30,7 @@ import org.ice4j.*;
* server to send the Binding Response with a different port than the
* one the Binding Request was received on.
*
* <p>Copyright: Copyright (c) 2003</p>
* <p>Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @version 0.1
*/
public class ChangeRequestAttribute

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -15,11 +15,7 @@ package org.ice4j.attribute;
* Response, independent of the value of the flags. Its syntax is
* identical to MAPPED-ADDRESS.
*
* <p>Copyright: Copyright (c) 2003</p>
* <p>Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @version 0.1
*/
public class ChangedAddressAttribute extends AddressAttribute

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -13,7 +13,6 @@ import org.ice4j.*;
* channel the TURN client want to send data.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class ChannelNumberAttribute extends Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -19,7 +19,6 @@ import org.ice4j.*;
* attributes on word boundaries.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class DataAttribute
extends Attribute

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -14,7 +14,6 @@ import org.ice4j.*;
* in IPv4 headers when relaying client data.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class DontFragmentAttribute extends Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -71,11 +71,7 @@ import org.ice4j.*;
* 600 (Global Failure:) The server is refusing to fulfill the request.
* The client should not retry.
*
* <p>Copyright: Copyright (c) 2003</p>
* <p>Organization: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p>
* @author Emil Ivov
* @version 0.1
*/
public class ErrorCodeAttribute extends Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -17,7 +17,6 @@ import org.ice4j.*;
* R : ask to reserve a second port.<br/>
*
* @author Sebastien Vincent
* @version 0.1
*/
public class EvenPortAttribute extends Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -13,7 +13,6 @@ import org.ice4j.*;
* from packets of other protocols.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class FingerprintAttribute extends Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -13,7 +13,6 @@ import org.ice4j.*;
* of TURN allocations.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class LifetimeAttribute extends Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -25,11 +25,7 @@ package org.ice4j.attribute;
* aligning parameters on natural boundaries. The IPv4 address is 32
* bits.
*
* <p>Copyright: Copyright (c) 2003</p>
* <p>Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @version 0.1
*/
public class MappedAddressAttribute extends AddressAttribute

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -14,7 +14,6 @@ import org.ice4j.*;
* The NONCE attribute is used for authentification.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class NonceAttribute extends Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -17,11 +17,7 @@ import org.ice4j.*;
* dealing with attributes in received messages, and generating messages
* containing attributes not explicitly supported by the stack.
*
* <p>Copyright: Copyright (c) 2003</p>
* <p>Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @version 0.1
*
*/
public class OptionalAttribute

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -28,10 +28,11 @@ public class PriorityAttribute
private static final char DATA_LENGTH_PRIORITY = 4;
/**
* The priority value specified in the attribute
* The priority value specified in the attribute. An int should be enough
* to store this value, but long is used, since candidate and candidate-pair
* classes use long to store priority values
*/
private long priority = 0; // int is enough to store this value, but long is used, since
// candidate and candidate-pair classes use long to store priority values
private long priority = 0;
public PriorityAttribute()
{

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -15,7 +15,6 @@ import org.ice4j.*;
* "realm value" as described in RFC3261 but without the double quotes.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class RealmAttribute extends Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -16,11 +16,7 @@ package org.ice4j.attribute;
*
* Its syntax is identical to the MAPPED-ADDRESS attribute.
*
* <p>Copyright: Copyright (c) 2003</p>
* <p>Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @version 0.1
*/
public class ReflectedFromAttribute extends AddressAttribute

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -16,7 +16,6 @@ import org.ice4j.*;
* Support of TCP is detailed in draft-ietf-behave-turn-tcp-05.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class RequestedTransportAttribute extends Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -14,9 +14,7 @@ import org.ice4j.*;
* The RESERVATION-TOKEN attribute contains a token that identifie a reservation port
* on a TURN server. The value is on 64 bits (8 bytes).
*
* <p>Organization Network Research Team, Louis Pasteur University</p>
* @author Sebastien Vincent
* @version 0.1
*/
public class ReservationTokenAttribute
extends Attribute

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -11,11 +11,7 @@ package org.ice4j.attribute;
* Binding Request should be sent. Its syntax is identical to MAPPED-
* ADDRESS.
*
* <p>Copyright: Copyright (c) 2003</p>
* <p>Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @version 0.1
*/
public class ResponseAddressAttribute extends AddressAttribute

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -19,10 +19,8 @@ import org.ice4j.*;
* multiple of 4 (measured in bytes) in order to guarantee alignment of
* attributes on word boundaries.
*
* <p>Organization Network Research Team, Louis Pasteur University</p>
* @author Emil Ivov
* @author Sebastien Vincent
* @version 0.1
*/
public class SoftwareAttribute
extends Attribute

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -11,11 +11,7 @@ package org.ice4j.attribute;
* indicates the source IP address and port that the server is sending
* the response from. Its syntax is identical to that of MAPPED-ADDRESS.
*
* <p>Copyright: Copyright (c) 2003</p>
* <p>Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @version 0.1
*/
public class SourceAddressAttribute extends AddressAttribute

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
/*
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -29,11 +29,7 @@ import org.ice4j.*;
* | Attribute 3 Type | Attribute 4 Type ...
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
*
* <p>Copyright: Copyright (c) 2003</p>
* <p>Organisation: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @version 0.1
*/
public class UnknownAttributesAttribute extends Attribute
{

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -15,7 +15,6 @@ import org.ice4j.*;
* The value of USERNAME is a variable length value.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class UsernameAttribute extends Attribute
{

View File

@ -44,10 +44,7 @@ import org.ice4j.message.*;
* equal to the IP address in MAPPED-ADDRESS, exclusive or'ed with the
* entire 128 bit transaction ID.
*
* <p>Copyright: Copyright (c) 2005.</p>
* <p>Organization: Network Research Team, Louis Pasteur University</p>
* @author Emil Ivov
* @version 1.0
*/
public class XorMappedAddressAttribute
extends AddressAttribute

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -19,9 +19,7 @@ import org.ice4j.*;
* This attribute has a length of zero, and therefore contains no other
* information past the common attribute header.
*
* <p>Organization: Net Research Team, Louis Pasteur University</p>
* @author Emil Ivov
* @version 0.1
*/
public class XorOnlyAttribute
extends Attribute

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -13,7 +13,6 @@ package org.ice4j.attribute;
* It has the same format as XOR-MAPPED-ADDRESS.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class XorPeerAddressAttribute extends XorMappedAddressAttribute
{

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.attribute;
@ -13,7 +13,6 @@ package org.ice4j.attribute;
* It has the same format as XOR-MAPPED-ADDRESS.
*
* @author Sebastien Vincent
* @version 0.1
*/
public class XorRelayedAddressAttribute extends XorMappedAddressAttribute
{

View File

@ -1,8 +1,8 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.message;
@ -25,10 +25,7 @@ import org.ice4j.*;
* | |
* +-------------------------------+
*
* <p>Organisation: <p> Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Sebastien Vincent
* @version 0.1
*/
public class ChannelData
{

View File

@ -1,23 +1,18 @@
/*
* Ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.message;
import org.ice4j.*;
/**
* An indication descendant of the message class.
*
* For example, indication messages is used by TURN protocol
* to send and receive encapsulated data.
*
* <p>Organisation: <p> Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Sebastien Vincent
* @version 0.1
*/
public class Indication extends Message
{

View File

@ -1,22 +1,17 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.message;
import org.ice4j.*;
/**
* A request descendant of the message class. The primary purpose of the
* Request class is to allow better functional definition of the classes in the
* stack package.
*
* <p>Organisation: <p> Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @version 0.1
*/
public class Request extends Message

View File

@ -1,18 +1,15 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.stack;
/**
* Generic Error Handler.
*
* <p>Organization: <p> Louis Pasteur University, Strasbourg, France.</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p>
* @author Emil Ivov
* @version 0.1
*/
interface ErrorHandler
{

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.stack;

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.stack;
@ -14,11 +14,7 @@ import java.util.logging.Logger;
* access is synchronized and message delivery ( remove() ) is blocking in the
* case of an empty queue.
*
* <p>Organization: Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p>
*
* @author Emil Ivov
* @version 0.1
*/
class MessageQueue
{

View File

@ -76,11 +76,9 @@ import org.ice4j.stack.*;
* local address and port for subsequent tests resolves this problem.
* An alternative is to wait sufficiently long to be confident that the
* old bindings have expired (half an hour should more than suffice).
* </p><p>
* <p>Organisation: <p> Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* </p>
*
* @author Emil Ivov
* @version 0.1
*/
public class NetworkConfigurationDiscoveryProcess

View File

@ -1,8 +1,8 @@
/*
* Stun4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* ice4j, the OpenSource Java Solution for NAT and Firewall Traversal.
* Maintained by the SIP Communicator community (http://sip-communicator.org).
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.ice4j.stunclient;
@ -13,11 +13,7 @@ import org.ice4j.*;
* contains information about the NAT Server (or firewall )this client is behind,
* and a mapped address value (if discovered)
*
*
* <p>Organisation: <p> Louis Pasteur University, Strasbourg, France</p>
* <p>Network Research Team (http://www-r2.u-strasbg.fr)</p></p>
* @author Emil Ivov
* @version 0.1
*/
public class StunDiscoveryReport
@ -60,7 +56,8 @@ public class StunDiscoveryReport
/**
* NAT type is port restricted cone.
*/
public static final String PORT_RESTRICTED_CONE_NAT= "Port Restricted Cone NAT";
public static final String PORT_RESTRICTED_CONE_NAT
= "Port Restricted Cone NAT";
private String natType = UNKNOWN;