directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r109299 - in incubator/directory/seda/branches/trustin/src/java/org/apache/netty: common downstream upstream
Date Wed, 01 Dec 2004 06:18:45 GMT
Author: trustin
Date: Tue Nov 30 22:18:44 2004
New Revision: 109299

URL: http://svn.apache.org/viewcvs?view=rev&rev=109299
Log:
Added SessionConfig.java


Added:
   incubator/directory/seda/branches/trustin/src/java/org/apache/netty/common/SessionConfig.java
Modified:
   incubator/directory/seda/branches/trustin/src/java/org/apache/netty/downstream/Session.java
   incubator/directory/seda/branches/trustin/src/java/org/apache/netty/upstream/Session.java

Added: incubator/directory/seda/branches/trustin/src/java/org/apache/netty/common/SessionConfig.java
Url: http://svn.apache.org/viewcvs/incubator/directory/seda/branches/trustin/src/java/org/apache/netty/common/SessionConfig.java?view=auto&rev=109299
==============================================================================
--- (empty file)
+++ incubator/directory/seda/branches/trustin/src/java/org/apache/netty/common/SessionConfig.java
Tue Nov 30 22:18:44 2004
@@ -0,0 +1,16 @@
+/*
+ * @(#) $Id$
+ */
+package org.apache.netty.common;
+
+/**
+ * TODO Insert type comment.
+ * 
+ * @author Trustin Lee (trustin@apache.org)
+ * @version $Rev$, $Date$
+ */
+public interface SessionConfig {
+    int getIdleTime(IdleStatus status);
+    long getIdleTimeInMillis(IdleStatus status);
+    void setIdleTime(IdleStatus status, int idleTime);
+}

Modified: incubator/directory/seda/branches/trustin/src/java/org/apache/netty/downstream/Session.java
Url: http://svn.apache.org/viewcvs/incubator/directory/seda/branches/trustin/src/java/org/apache/netty/downstream/Session.java?view=diff&rev=109299&p1=incubator/directory/seda/branches/trustin/src/java/org/apache/netty/downstream/Session.java&r1=109298&p2=incubator/directory/seda/branches/trustin/src/java/org/apache/netty/downstream/Session.java&r2=109299
==============================================================================
--- incubator/directory/seda/branches/trustin/src/java/org/apache/netty/downstream/Session.java
(original)
+++ incubator/directory/seda/branches/trustin/src/java/org/apache/netty/downstream/Session.java
Tue Nov 30 22:18:44 2004
@@ -6,6 +6,8 @@
 import java.net.SocketAddress;
 import java.nio.ByteBuffer;
 
+import org.apache.netty.common.SessionConfig;
+
 /**
  * TODO Insert type comment.
  * 
@@ -24,6 +26,8 @@
 
     boolean isConnected();
     boolean isClosed();
+    
+    SessionConfig getConfig();
     
     SocketAddress getRemoteAddress();
     SocketAddress getLocalAddress();

Modified: incubator/directory/seda/branches/trustin/src/java/org/apache/netty/upstream/Session.java
Url: http://svn.apache.org/viewcvs/incubator/directory/seda/branches/trustin/src/java/org/apache/netty/upstream/Session.java?view=diff&rev=109299&p1=incubator/directory/seda/branches/trustin/src/java/org/apache/netty/upstream/Session.java&r1=109298&p2=incubator/directory/seda/branches/trustin/src/java/org/apache/netty/upstream/Session.java&r2=109299
==============================================================================
--- incubator/directory/seda/branches/trustin/src/java/org/apache/netty/upstream/Session.java
(original)
+++ incubator/directory/seda/branches/trustin/src/java/org/apache/netty/upstream/Session.java
Tue Nov 30 22:18:44 2004
@@ -5,6 +5,8 @@
 
 import java.net.SocketAddress;
 
+import org.apache.netty.common.SessionConfig;
+
 /**
  * TODO Insert type comment.
  * 
@@ -25,6 +27,8 @@
     boolean isConnected();
     boolean isClosed();
     
+    SessionConfig getConfig();
+
     SocketAddress getRemoteAddress();
     SocketAddress getLocalAddress();
     

Mime
View raw message