com.zusmart.base.network.ChannelContextFuture Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zusmart-base Show documentation
Show all versions of zusmart-base Show documentation
提供基础的工具类及方法类,Logging,Scanner,Buffer,NetWork,Future,Thread
package com.zusmart.base.network;
import com.zusmart.base.future.FutureListener;
import com.zusmart.base.future.support.AbstractFuture;
public class ChannelContextFuture extends AbstractFuture> {
private final ChannelContext channelContext;
public ChannelContextFuture(ChannelContext channelContext) {
this.channelContext = channelContext;
}
public ChannelContext getChannelContext() {
return this.channelContext;
}
@Override
protected ChannelContextFuture getFuture() {
return this;
}
}