Uses of Interface
org.apache.mina.core.future.WriteFuture
-
Packages that use WriteFuture Package Description org.apache.mina.core Common types required for users to use MINA.org.apache.mina.core.future org.apache.mina.core.service org.apache.mina.core.session org.apache.mina.core.write org.apache.mina.filter.codec Filter implementations that helps you to implement complex protocols via 'codec' concept.org.apache.mina.filter.ssl Classes that implement IoFilter and provide Secure Sockets Layer functionality.org.apache.mina.proxy -
-
Uses of WriteFuture in org.apache.mina.core
Methods in org.apache.mina.core that return types with arguments of type WriteFuture Modifier and Type Method Description static List<WriteFuture>IoUtil. broadcast(Object message, Iterable<IoSession> sessions)Writes the specifiedmessageto the specifiedsessions.static List<WriteFuture>IoUtil. broadcast(Object message, Collection<IoSession> sessions)Writes the specifiedmessageto the specifiedsessions.static List<WriteFuture>IoUtil. broadcast(Object message, Iterator<IoSession> sessions)Writes the specifiedmessageto the specifiedsessions.static List<WriteFuture>IoUtil. broadcast(Object message, IoSession... sessions)Writes the specifiedmessageto the specifiedsessions. -
Uses of WriteFuture in org.apache.mina.core.future
Classes in org.apache.mina.core.future that implement WriteFuture Modifier and Type Class Description classDefaultWriteFutureA default implementation ofWriteFuture.Methods in org.apache.mina.core.future that return WriteFuture Modifier and Type Method Description WriteFutureDefaultWriteFuture. addListener(IoFutureListener<?> listener)Adds an event listener which is notified when this future is completed.WriteFutureWriteFuture. addListener(IoFutureListener<?> listener)Adds an event listener which is notified when this future is completed.WriteFutureDefaultWriteFuture. await()Wait for the asynchronous operation to complete.WriteFutureWriteFuture. await()Wait for the asynchronous operation to complete.WriteFutureDefaultWriteFuture. awaitUninterruptibly()Wait for the asynchronous operation to complete uninterruptibly.WriteFutureWriteFuture. awaitUninterruptibly()Wait for the asynchronous operation to complete uninterruptibly.static WriteFutureDefaultWriteFuture. newNotWrittenFuture(IoSession session, Throwable cause)Returns a newDefaultWriteFuturewhich is already marked as 'not written'.static WriteFutureDefaultWriteFuture. newWrittenFuture(IoSession session)Returns a newDefaultWriteFuturewhich is already marked as 'written'.WriteFutureDefaultWriteFuture. removeListener(IoFutureListener<?> listener)Removes an existing event listener so it won't be notified when the future is completed.WriteFutureWriteFuture. removeListener(IoFutureListener<?> listener)Removes an existing event listener so it won't be notified when the future is completed. -
Uses of WriteFuture in org.apache.mina.core.service
Methods in org.apache.mina.core.service that return types with arguments of type WriteFuture Modifier and Type Method Description Set<WriteFuture>AbstractIoService. broadcast(Object message)Writes the specifiedmessageto all theIoSessions managed by this service.Set<WriteFuture>IoService. broadcast(Object message)Writes the specifiedmessageto all theIoSessions managed by this service. -
Uses of WriteFuture in org.apache.mina.core.session
Methods in org.apache.mina.core.session that return WriteFuture Modifier and Type Method Description WriteFutureAbstractIoSession. write(Object message)Writes the specifiedmessageto remote peer.WriteFutureAbstractIoSession. write(Object message, SocketAddress remoteAddress)(Optional) Writes the specified message to the specified destination.WriteFutureIoSession. write(Object message)Writes the specifiedmessageto remote peer.WriteFutureIoSession. write(Object message, SocketAddress destination)(Optional) Writes the specified message to the specified destination. -
Uses of WriteFuture in org.apache.mina.core.write
Methods in org.apache.mina.core.write that return WriteFuture Modifier and Type Method Description WriteFutureDefaultWriteRequest. getFuture()WriteFutureWriteRequest. getFuture()WriteFutureWriteRequestWrapper. getFuture()Constructors in org.apache.mina.core.write with parameters of type WriteFuture Constructor Description DefaultWriteRequest(Object message, WriteFuture future)Creates a new instance withWriteFuture.DefaultWriteRequest(Object message, WriteFuture future, SocketAddress destination)Creates a new instance. -
Uses of WriteFuture in org.apache.mina.filter.codec
Methods in org.apache.mina.filter.codec that return WriteFuture Modifier and Type Method Description WriteFutureProtocolEncoderOutput. flush()Flushes all buffers you wrote viaProtocolEncoderOutput.write(Object)to the session. -
Uses of WriteFuture in org.apache.mina.filter.ssl
Methods in org.apache.mina.filter.ssl that return WriteFuture Modifier and Type Method Description WriteFutureSslFilter. stopSsl(IoSession session)Stops the SSL session by sending TLS close_notify message to initiate TLS closure. -
Uses of WriteFuture in org.apache.mina.proxy
Methods in org.apache.mina.proxy that return WriteFuture Modifier and Type Method Description protected WriteFutureAbstractProxyLogicHandler. writeData(IoFilter.NextFilter nextFilter, IoBuffer data)Writes data to the proxy server.
-