james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r754855 - in /james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode: ImapResponseComposer.java base/ImapResponseComposerImpl.java
Date Mon, 16 Mar 2009 10:17:00 GMT
Author: rdonkin
Date: Mon Mar 16 10:16:59 2009
New Revision: 754855

URL: http://svn.apache.org/viewvc?rev=754855&view=rev
Log:
Explicit call for hello to replace use of okResponse (which has now been removed).

Modified:
    james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode/ImapResponseComposer.java
    james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode/base/ImapResponseComposerImpl.java

Modified: james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode/ImapResponseComposer.java
URL: http://svn.apache.org/viewvc/james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode/ImapResponseComposer.java?rev=754855&r1=754854&r2=754855&view=diff
==============================================================================
--- james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode/ImapResponseComposer.java
(original)
+++ james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode/ImapResponseComposer.java
Mon Mar 16 10:16:59 2009
@@ -183,6 +183,8 @@
     public abstract void untaggedResponse(String message) throws IOException;
 
     public abstract void byeResponse(String message) throws IOException;
+    
+    public abstract void hello(String message) throws IOException;
 
     public abstract void untagged() throws IOException;
 

Modified: james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode/base/ImapResponseComposerImpl.java
URL: http://svn.apache.org/viewvc/james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode/base/ImapResponseComposerImpl.java?rev=754855&r1=754854&r2=754855&view=diff
==============================================================================
--- james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode/base/ImapResponseComposerImpl.java
(original)
+++ james/protocols/imap/trunk/message/src/main/java/org/apache/james/imap/encode/base/ImapResponseComposerImpl.java
Mon Mar 16 10:16:59 2009
@@ -174,6 +174,14 @@
     public void byeResponse(String message) throws IOException {
         untaggedResponse(BYE + SP + message);
     }
+    
+    /**
+     * @throws IOException
+     * @see org.apache.james.imap.encode.ImapResponseComposer#hello(java.lang.String)
+     */
+    public void hello(String message) throws IOException {
+        untaggedResponse(OK + SP + message);
+    }
 
     /**
      * @throws IOException



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message