/** * Writes one message to the outbound of this {@link Channel} and does not flush it. This * method is conceptually equivalent to {@link #write(Object)}. * * @see #writeOneInbound(Object) */ public ChannelFuture writeOneOutbound(Object msg) { return writeOneOutbound(msg, newPromise()); }
/** * Writes one message to the outbound of this {@link Channel} and does not flush it. This * method is conceptually equivalent to {@link #write(Object)}. * * @see #writeOneInbound(Object) */ public ChannelFuture writeOneOutbound(Object msg) { return writeOneOutbound(msg, newPromise()); }
/** * Writes one message to the outbound of this {@link Channel} and does not flush it. This * method is conceptually equivalent to {@link #write(Object)}. * * @see #writeOneInbound(Object) */ public ChannelFuture writeOneOutbound(Object msg) { return writeOneOutbound(msg, newPromise()); }
/** * Writes one message to the outbound of this {@link Channel} and does not flush it. This * method is conceptually equivalent to {@link #write(Object)}. * * @see #writeOneInbound(Object) */ public ChannelFuture writeOneOutbound(Object msg) { return writeOneOutbound(msg, newPromise()); }
/** * Writes one message to the outbound of this {@link Channel} and does not flush it. This * method is conceptually equivalent to {@link #write(Object)}. * * @see #writeOneInbound(Object) */ public ChannelFuture writeOneOutbound(Object msg) { return writeOneOutbound(msg, newPromise()); }
/** * Writes one message to the outbound of this {@link Channel} and does not flush it. This * method is conceptually equivalent to {@link #write(Object)}. * * @see #writeOneInbound(Object) */ public ChannelFuture writeOneOutbound(Object msg) { return writeOneOutbound(msg, newPromise()); }
ChannelFuture f = channel.writeOneOutbound(1);
ChannelFuture f = channel.writeOneOutbound(1);
Path path = Paths.get(getClass().getResource("/largeFile.txt").toURI()); ChannelFuture f = channel.writeOneOutbound(1); outbound.sendFileChunked(path, 0, Files.size(path)) .then().block();