Initial framework migration to netty.
[bgpcep.git] / framework / src / main / java / org / opendaylight / protocol / framework / SessionParent.java
index 0088b236bb9644dc590e9cba1887ea24c124caeb..123713655e8d85eaa38a9f96902307a865ec0f51 100644 (file)
@@ -10,23 +10,18 @@ package org.opendaylight.protocol.framework;
 import java.io.Closeable;
 
 /**
- * Interface that groups together the classes that can create a session (Dispatcher and Server). When a session
- * is closing, it has to notify its parent about closing. Each parent keeps a Map of its sessions. When some session closes,
- * it fires onSessionClosed event with its own instance as parameter and the parent of this session will remove it from his map.
+ * Interface that groups together the classes that can create a session (Dispatcher and Server). When a session is
+ * closing, it has to notify its parent about closing. Each parent keeps a Map of its sessions. When some session
+ * closes, it fires onSessionClosed event with its own instance as parameter and the parent of this session will remove
+ * it from his map.
  */
 public interface SessionParent extends Closeable {
 
        /**
-        * This listener method is called when a session that was created by a class implementing this interface,
-        * is closing. Implementation should remove corresponding session from its list of sessions.
+        * This listener method is called when a session that was created by a class implementing this interface, is
+        * closing. Implementation should remove corresponding session from its list of sessions.
+        * 
         * @param session a session that is closing
         */
        public void onSessionClosed(final ProtocolSession session);
-
-       /**
-        * This listener method is called when a session has produced some output and the parent needs to react to
-        * it.
-        * @param session a session that has produced output
-        */
-       public void checkOutputBuffer(final ProtocolSession session);
 }