@Override
    public void sendResponseAsync(final CommandPackage commandPackage, final SendedCallback callback)
                                                                                                     throws NetException {
        //没有在运行，不能发送
        if (!isRunning()) {
            throw new NetException("还没有启动连接,或者连接还没有完成");
        }
        //发送数据
        ChannelFuture future = channel.write(commandPackage);

        //
        if (callback != null) {
            future.addListener(new ChannelFutureListener() {

                @Override
                public void operationComplete(ChannelFuture future) throws Exception {
                    if (future.isSuccess()) {
                        callback.sendOK(commandPackage);
                    } else {
                        callback.exceptionOccur(commandPackage, future.getCause());
                    }
                }
            });
        }
    }