1 20 package org.apache.mina.common; 21 22 import java.util.EventListener ; 23 24 31 public interface IoFutureListener extends EventListener { 32 36 static IoFutureListener CLOSE = new IoFutureListener() { 37 public void operationComplete(IoFuture future) { 38 future.getSession().close(); 39 } 40 }; 41 42 49 void operationComplete(IoFuture future); 50 } | Popular Tags |