protected void oneway(final Connection conn, final RemotingCommand request) {
        if (conn == null) {
            LOGGER.error("conn is null");
            return;
        }

        Url url = conn.getUrl();
        if (url != null) {
            int remainingTime = remainingTime(request, url.getConnectTimeout());
            if (remainingTime <= ABANDONING_REQUEST_THRESHOLD) {
                LOGGER
                    .warn(
                        "already timeout before writing to the network, requestId: {}, remoting address: {}",
                        request.getId(),
                        conn.getUrl() != null ? conn.getUrl() : RemotingUtil
                            .parseRemoteAddress(conn.getChannel()));
                return;
            }
        }

        try {
            conn.getChannel().writeAndFlush(request).addListener(new ChannelFutureListener() {

                @Override
                public void operationComplete(ChannelFuture f) throws Exception {
                    if (!f.isSuccess()) {
                        LOGGER.error("Invoke send failed. The address is {}",
                            RemotingUtil.parseRemoteAddress(conn.getChannel()), f.cause());
                    }
                }

            });
        } catch (Exception e) {
            LOGGER.error("Exception caught when sending invocation. The address is {}",
                RemotingUtil.parseRemoteAddress(conn.getChannel()), e);
        }
    }
Oneway invocation.

@param conn
@param request
@throws InterruptedException
src/main/java/com/alipay/remoting/BaseRemoting.java