directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r240287 - in /directory/protocol-providers/ntp/trunk: project.xml src/java/org/apache/ntp/protocol/NtpProtocolHandler.java
Date Fri, 26 Aug 2005 16:51:31 GMT
Author: erodriguez
Date: Fri Aug 26 09:51:26 2005
New Revision: 240287

URL: http://svn.apache.org/viewcvs?rev=240287&view=rev
Log:
Bumping up the MINA version to 0.7.3 and adding the new sessionCreated method.

Modified:
    directory/protocol-providers/ntp/trunk/project.xml
    directory/protocol-providers/ntp/trunk/src/java/org/apache/ntp/protocol/NtpProtocolHandler.java

Modified: directory/protocol-providers/ntp/trunk/project.xml
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/ntp/trunk/project.xml?rev=240287&r1=240286&r2=240287&view=diff
==============================================================================
--- directory/protocol-providers/ntp/trunk/project.xml (original)
+++ directory/protocol-providers/ntp/trunk/project.xml Fri Aug 26 09:51:26 2005
@@ -79,7 +79,7 @@
     <dependency>
       <groupId>directory-network</groupId>
       <artifactId>mina</artifactId>
-      <version>0.7-SNAPSHOT</version>
+      <version>0.7.3-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>junit</groupId>

Modified: directory/protocol-providers/ntp/trunk/src/java/org/apache/ntp/protocol/NtpProtocolHandler.java
URL: http://svn.apache.org/viewcvs/directory/protocol-providers/ntp/trunk/src/java/org/apache/ntp/protocol/NtpProtocolHandler.java?rev=240287&r1=240286&r2=240287&view=diff
==============================================================================
--- directory/protocol-providers/ntp/trunk/src/java/org/apache/ntp/protocol/NtpProtocolHandler.java
(original)
+++ directory/protocol-providers/ntp/trunk/src/java/org/apache/ntp/protocol/NtpProtocolHandler.java
Fri Aug 26 09:51:26 2005
@@ -27,6 +27,10 @@
 
 public class NtpProtocolHandler implements ProtocolHandler
 {
+    public void sessionCreated( ProtocolSession session )
+    {
+        System.out.println( session.getRemoteAddress() + " CREATED" );
+    }
 
     public void sessionOpened( ProtocolSession session )
     {



Mime
View raw message