Uses of Interface
org.apache.mina.core.future.WriteFuture
Packages that use WriteFuture
Package
Description
Common types required for users to use MINA.
Filter implementations that helps you to implement complex protocols via 'codec' concept.
Classes that implement IoFilter and provide Secure Sockets Layer functionality.
-
Uses of WriteFuture in org.apache.mina.core
Methods in org.apache.mina.core that return types with arguments of type WriteFutureModifier and TypeMethodDescriptionstatic List<WriteFuture> Writes the specifiedmessageto the specifiedsessions.static List<WriteFuture> IoUtil.broadcast(Object message, Collection<IoSession> sessions) Writes the specifiedmessageto the specifiedsessions.static List<WriteFuture> Writes the specifiedmessageto the specifiedsessions.static List<WriteFuture> Writes the specifiedmessageto the specifiedsessions.Method parameters in org.apache.mina.core with type arguments of type WriteFutureModifier and TypeMethodDescriptionprivate static voidIoUtil.broadcast(Object message, Iterator<IoSession> sessions, Collection<WriteFuture> answer) -
Uses of WriteFuture in org.apache.mina.core.future
Classes in org.apache.mina.core.future that implement WriteFutureMethods in org.apache.mina.core.future that return WriteFutureModifier and TypeMethodDescriptionDefaultWriteFuture.addListener(IoFutureListener<?> listener) Adds an eventlistenerwhich is notified when this future is completed.WriteFuture.addListener(IoFutureListener<?> listener) Adds an eventlistenerwhich is notified when this future is completed.DefaultWriteFuture.await()Wait for the asynchronous operation to complete.WriteFuture.await()Wait for the asynchronous operation to complete.DefaultWriteFuture.awaitUninterruptibly()Wait for the asynchronous operation to complete uninterruptibly.WriteFuture.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'.DefaultWriteFuture.removeListener(IoFutureListener<?> listener) Removes an existing eventlistenerso it won't be notified when the future is completed.WriteFuture.removeListener(IoFutureListener<?> listener) Removes an existing eventlistenerso 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 WriteFutureModifier and TypeMethodDescriptionfinal Set<WriteFuture> Writes the specifiedmessageto all theIoSessions managed by this service.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 WriteFutureModifier and TypeMethodDescriptionWrites the specifiedmessageto remote peer.AbstractIoSession.write(Object message, SocketAddress remoteAddress) (Optional) Writes the specifiedmessageto the specifieddestination.Writes the specifiedmessageto remote peer.IoSession.write(Object message, SocketAddress destination) (Optional) Writes the specifiedmessageto the specifieddestination. -
Uses of WriteFuture in org.apache.mina.core.write
Fields in org.apache.mina.core.write declared as WriteFutureModifier and TypeFieldDescriptionprivate final WriteFutureDefaultWriteRequest.futureThe associated Futureprivate static final WriteFutureDefaultWriteRequest.UNUSED_FUTUREAn empty FUTUREMethods in org.apache.mina.core.write that return WriteFutureConstructors in org.apache.mina.core.write with parameters of type WriteFutureModifierConstructorDescriptionDefaultWriteRequest(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
Fields in org.apache.mina.filter.codec declared as WriteFutureMethods in org.apache.mina.filter.codec that return WriteFutureModifier and TypeMethodDescriptionProtocolCodecFilter.ProtocolEncoderOutputImpl.flush()Flushes all buffers you wrote viaProtocolEncoderOutput.write(Object)to the session.ProtocolEncoderOutput.flush()Flushes all buffers you wrote viaProtocolEncoderOutput.write(Object)to the session.Constructors in org.apache.mina.filter.codec with parameters of type WriteFutureModifierConstructorDescriptionEncodedWriteRequest(Object encodedMessage, WriteFuture future, SocketAddress destination) -
Uses of WriteFuture in org.apache.mina.filter.ssl
Methods in org.apache.mina.filter.ssl that return WriteFutureModifier and TypeMethodDescriptionSslFilter.EncryptedWriteRequest.getFuture()private WriteFutureSslFilter.initiateClosure(IoFilter.NextFilter nextFilter, IoSession session) Stops the SSL session by sending TLSclose_notifymessage to initiate TLS closure.(package private) WriteFutureSslHandler.writeNetBuffer(IoFilter.NextFilter nextFilter) -
Uses of WriteFuture in org.apache.mina.handler.stream
Fields in org.apache.mina.handler.stream declared as WriteFuture -
Uses of WriteFuture in org.apache.mina.proxy
Methods in org.apache.mina.proxy that return WriteFutureModifier and TypeMethodDescriptionprotected WriteFutureAbstractProxyLogicHandler.writeData(IoFilter.NextFilter nextFilter, IoBuffer data) Writes data to the proxy server.