| java.lang.Object org.apache.mina.common.IoUtil
IoUtil | public class IoUtil (Code) | | A utility class that provides various convenience methods related with
IoSession and
IoFuture .
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 589474 $, $Date: 2007-10-28 21:03:14 -0600 (Sun, 28 Oct 2007) $ |
Method Summary | |
public static void | await(Iterable<? extends IoFuture> futures) | public static boolean | await(Iterable<? extends IoFuture> futures, long timeout, TimeUnit unit) | public static boolean | await(Iterable<? extends IoFuture> futures, long timeoutMillis) | public static void | awaitUninterruptably(Iterable<? extends IoFuture> futures) | public static boolean | awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeout, TimeUnit unit) | public static boolean | awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeoutMillis) | public static List<WriteFuture> | broadcast(Object message, Collection<IoSession> sessions) Writes the specified
message to the specified
sessions . | public static List<WriteFuture> | broadcast(Object message, Iterable<IoSession> sessions) Writes the specified
message to the specified
sessions . | public static List<WriteFuture> | broadcast(Object message, Iterator<IoSession> sessions) Writes the specified
message to the specified
sessions . | public static List<WriteFuture> | broadcast(Object message, IoSession... sessions) Writes the specified
message to the specified
sessions . |
awaitUninterruptibly | public static boolean awaitUninterruptibly(Iterable<? extends IoFuture> futures, long timeoutMillis)(Code) | | |
|
|