接口的使用
com.weicoder.common.interfaces.Callback
使用Callback的程序包
-
com.weicoder.common.io中Callback的使用
参数类型为Callback的com.weicoder.common.io中的方法修饰符和类型方法说明static longChannelUtil.write(ReadableByteChannel rbc, WritableByteChannel wbc, int buff, boolean isClose, Callback<Buffer, Buffer> call) 读取并写入数据static longChannelUtil.write(ReadableByteChannel rbc, WritableByteChannel wbc, int buff, Callback<Buffer, Buffer> call) 读取并写入数据 默认不关闭流static longIOUtil.write(OutputStream out, InputStream in, int buff, boolean isClose, Callback<Buffer, Buffer> call) 读取并写入数据longNIO.write(OutputStream out, InputStream in, int buff, boolean isClose, Callback<Buffer, Buffer> call) longOIO.write(OutputStream out, InputStream in, int buff, boolean isClose, Callback<Buffer, Buffer> call) -
com.weicoder.common.socket中Callback的使用
参数类型为Callback的com.weicoder.common.socket中的方法