[ice4j] r128 committed - Ongoing work on connectivity checks. Support for XOR-MAPPED-ADDRESS at...

ice4j at googlecode.com ice4j at googlecode.com
Sun Apr 25 16:52:51 CEST 2010


Revision: 128
Author: emcho at sip-communicator.org
Date: Sun Apr 25 07:40:38 2010
Log: Ongoing work on connectivity checks. Support for XOR-MAPPED-ADDRESS  
attributes in Binding Responses
http://code.google.com/p/ice4j/source/detail?r=128

Modified:
  /trunk/test/org/ice4j/MessageEventDispatchingTest.java
  /trunk/test/org/ice4j/TransactionSupportTests.java
  /trunk/test/org/ice4j/message/MessageFactoryTest.java
  /trunk/test/org/ice4j/stack/ShallowStackTest.java
  /trunk/test/org/ice4j/stunclient/StunAddressDiscovererTest.java
  /trunk/test/org/ice4j/stunclient/StunAddressDiscovererTest_v4v6.java
  /trunk/test/org/ice4j/stunclient/StunAddressDiscovererTest_v6.java
  /trunk/test/test/Ice.java

=======================================
--- /trunk/test/org/ice4j/MessageEventDispatchingTest.java	Thu Mar  4  
03:01:27 2010
+++ /trunk/test/org/ice4j/MessageEventDispatchingTest.java	Sun Apr 25  
07:40:38 2010
@@ -100,7 +100,7 @@
          stunStack.addSocket(serverSock2);

          bindingRequest = MessageFactory.createBindingRequest();
-        bindingResponse = MessageFactory.createBindingResponse(
+        bindingResponse = MessageFactory.create3482BindingResponse(
              clientAddress, clientAddress, serverAddress);

          requestCollector = new PlainRequestCollector();
=======================================
--- /trunk/test/org/ice4j/TransactionSupportTests.java	Thu Mar  4 03:01:27  
2010
+++ /trunk/test/org/ice4j/TransactionSupportTests.java	Sun Apr 25 07:40:38  
2010
@@ -83,7 +83,7 @@
          StunStack.getInstance().addSocket(serverSock);

          bindingRequest = MessageFactory.createBindingRequest();
-        bindingResponse = MessageFactory.createBindingResponse(
+        bindingResponse = MessageFactory.create3482BindingResponse(
              clientAddress, clientAddress, serverAddress);

          requestCollector = new PlainRequestCollector();
=======================================
--- /trunk/test/org/ice4j/message/MessageFactoryTest.java	Fri Feb 19  
00:35:15 2010
+++ /trunk/test/org/ice4j/message/MessageFactoryTest.java	Sun Apr 25  
07:40:38 2010
@@ -170,7 +170,7 @@
          bindingResponse.addAttribute(changedAddress);

          Message expectedReturn = bindingResponse;
-        Message actualReturn = messageFactory.createBindingResponse(
+        Message actualReturn = messageFactory.create3482BindingResponse(
              new TransportAddress( msgFixture.ADDRESS_ATTRIBUTE_ADDRESS,
                                    msgFixture.ADDRESS_ATTRIBUTE_PORT,
                                    Transport.UDP),
=======================================
--- /trunk/test/org/ice4j/stack/ShallowStackTest.java	Thu Mar  4 03:01:27  
2010
+++ /trunk/test/org/ice4j/stack/ShallowStackTest.java	Sun Apr 25 07:40:38  
2010
@@ -213,7 +213,7 @@
                     Arrays.equals(expectedReturn, actualReturn));

          //---------- create the response  
---------------------------------------
-        Response bindingResponse = MessageFactory.createBindingResponse(
+        Response bindingResponse =  
MessageFactory.create3482BindingResponse(
              new TransportAddress( MsgFixture.ADDRESS_ATTRIBUTE_ADDRESS,
                   MsgFixture.ADDRESS_ATTRIBUTE_PORT, Transport.UDP ),
              new TransportAddress( MsgFixture.ADDRESS_ATTRIBUTE_ADDRESS_2,
=======================================
--- /trunk/test/org/ice4j/stunclient/StunAddressDiscovererTest.java	Sun Jan  
31 12:35:58 2010
+++ /trunk/test/org/ice4j/stunclient/StunAddressDiscovererTest.java	Sun Apr  
25 07:40:38 2010
@@ -103,10 +103,10 @@
      public void testRecognizeSymmetricNat() throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
          Response testIResponse2 = null;
-        Response testIResponse3 = MessageFactory.createBindingResponse(
+        Response testIResponse3 = MessageFactory.create3482BindingResponse(
              mappedClientAddressPort2,
              responseServerAddress,
              responseServerAddress);
@@ -139,10 +139,10 @@
          throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
          Response testIResponse2 = null;
-        Response testIResponse3 = MessageFactory.createBindingResponse(
+        Response testIResponse3 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
          Response testIResponse4 = null;

@@ -172,12 +172,12 @@
      public void testRecognizeRestrictedCone() throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
          Response testIResponse2 = null;
-        Response testIResponse3 = MessageFactory.createBindingResponse(
+        Response testIResponse3 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
-        Response testIResponse4 = MessageFactory.createBindingResponse(
+        Response testIResponse4 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);

          responseServer.addMessage(testIResponse1);
@@ -207,9 +207,9 @@
          throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
-        Response testIResponse2 = MessageFactory.createBindingResponse(
+        Response testIResponse2 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);

          responseServer.addMessage(testIResponse1);
@@ -238,7 +238,7 @@
          throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              discovererAddress, responseServerAddress,  
responseServerAddress);
          Response testIResponse2 = null;

@@ -268,9 +268,9 @@
          throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              discovererAddress, responseServerAddress,  
responseServerAddress);
-        Response testIResponse2 = MessageFactory.createBindingResponse(
+        Response testIResponse2 = MessageFactory.create3482BindingResponse(
              discovererAddress, responseServerAddress,  
responseServerAddress);

          responseServer.addMessage(testIResponse1);
=======================================
--- /trunk/test/org/ice4j/stunclient/StunAddressDiscovererTest_v4v6.java	 
Fri Feb 19 00:35:15 2010
+++ /trunk/test/org/ice4j/stunclient/StunAddressDiscovererTest_v4v6.java	 
Sun Apr 25 07:40:38 2010
@@ -112,12 +112,12 @@
          throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress_v4,
              responseServerAddress_v6,
              responseServerAddress_v6);
          Response testIResponse2 = null;
-        Response testIResponse3 = MessageFactory.createBindingResponse(
+        Response testIResponse3 = MessageFactory.create3482BindingResponse(
              mappedClientAddress_v4_Port2,
              responseServerAddress_v6,
              responseServerAddress_v6);
@@ -147,12 +147,12 @@
      public void testRecognizeSymmetricNat_Local_v4_Public_v6() throws  
Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress_v6,
              responseServerAddress_v4,
              responseServerAddress_v4);
          Response testIResponse2 = null;
-        Response testIResponse3 = MessageFactory.createBindingResponse(
+        Response testIResponse3 = MessageFactory.create3482BindingResponse(
              mappedClientAddress_v6_Port2,
              responseServerAddress_v4,
              responseServerAddress_v4);
@@ -184,11 +184,11 @@
      public void testRecognizeFullCone_Local_v6_Public_v4() throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress_v4,
              responseServerAddress_v6,
              responseServerAddress_v6);
-        Response testIResponse2 = MessageFactory.createBindingResponse(
+        Response testIResponse2 = MessageFactory.create3482BindingResponse(
              mappedClientAddress_v4,
              responseServerAddress_v6,
              responseServerAddress_v6);
@@ -217,11 +217,11 @@
      public void testRecognizeFullCone_Local_v4_Public_v6() throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress_v6,
              responseServerAddress_v4,
              responseServerAddress_v4);
-        Response testIResponse2 = MessageFactory.createBindingResponse(
+        Response testIResponse2 = MessageFactory.create3482BindingResponse(
              mappedClientAddress_v6,
              responseServerAddress_v4,
              responseServerAddress_v4);
=======================================
--- /trunk/test/org/ice4j/stunclient/StunAddressDiscovererTest_v6.java	Sun  
Jan 31 12:35:58 2010
+++ /trunk/test/org/ice4j/stunclient/StunAddressDiscovererTest_v6.java	Sun  
Apr 25 07:40:38 2010
@@ -102,10 +102,10 @@
          throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
               mappedClientAddress, responseServerAddress,  
responseServerAddress);
          Response testIResponse2 = null;
-        Response testIResponse3 = MessageFactory.createBindingResponse(
+        Response testIResponse3 = MessageFactory.create3482BindingResponse(
               mappedClientAddressPort2,
               responseServerAddress,
               responseServerAddress);
@@ -137,10 +137,10 @@
          throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
          Response testIResponse2 = null;
-        Response testIResponse3 = MessageFactory.createBindingResponse(
+        Response testIResponse3 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
          Response testIResponse4 = null;

@@ -172,12 +172,12 @@
          throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
          Response testIResponse2 = null;
-        Response testIResponse3 = MessageFactory.createBindingResponse(
+        Response testIResponse3 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
-        Response testIResponse4 = MessageFactory.createBindingResponse(
+        Response testIResponse4 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);

          responseServer.addMessage(testIResponse1);
@@ -206,9 +206,9 @@
      public void testRecognizeFullCone() throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);
-        Response testIResponse2 = MessageFactory.createBindingResponse(
+        Response testIResponse2 = MessageFactory.create3482BindingResponse(
              mappedClientAddress, responseServerAddress,  
responseServerAddress);

          responseServer.addMessage(testIResponse1);
@@ -236,7 +236,7 @@
          throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              discovererAddress, responseServerAddress,  
responseServerAddress);
          Response testIResponse2 = null;

@@ -265,9 +265,9 @@
          throws Exception
      {
          //define the server response sequence
-        Response testIResponse1 = MessageFactory.createBindingResponse(
+        Response testIResponse1 = MessageFactory.create3482BindingResponse(
              discovererAddress, responseServerAddress,  
responseServerAddress);
-        Response testIResponse2 = MessageFactory.createBindingResponse(
+        Response testIResponse2 = MessageFactory.create3482BindingResponse(
              discovererAddress, responseServerAddress,  
responseServerAddress);

          responseServer.addMessage(testIResponse1);
=======================================
--- /trunk/test/test/Ice.java	Sun Mar  7 12:14:26 2010
+++ /trunk/test/test/Ice.java	Sun Apr 25 07:40:38 2010
@@ -50,7 +50,7 @@

          System.out.println("Local audio clist:\n"
                          + localAgent.getStream("audio").getCheckList());
-        System.out.println("Local audio clist:\n"
+        System.out.println("Local video clist:\n"
                          + localAgent.getStream("video").getCheckList());

          System.out.println("Total execution time: "

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: commits-help at sip-communicator.dev.java.net





More information about the commits mailing list