本文整理汇总了Java中net.minecraft.network.NetworkListenThread类的典型用法代码示例。如果您正苦于以下问题:Java NetworkListenThread类的具体用法?Java NetworkListenThread怎么用?Java NetworkListenThread使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
NetworkListenThread类属于net.minecraft.network包,在下文中一共展示了NetworkListenThread类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ServerListenThread
import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public ServerListenThread(NetworkListenThread p_i1510_1_, InetAddress p_i1510_2_, int p_i1510_3_) throws IOException {
super("Listen thread");
this.field_71771_f = p_i1510_1_;
this.field_71778_h = p_i1510_3_;
this.field_71774_e = new ServerSocket(p_i1510_3_, 0, p_i1510_2_);
this.field_71772_g = p_i1510_2_ == null?this.field_71774_e.getInetAddress():p_i1510_2_;
this.field_71774_e.setPerformancePreferences(0, 2, 1);
}
示例2: ServerListenThread
import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public ServerListenThread(NetworkListenThread par1NetworkListenThread, InetAddress par2InetAddress, int par3) throws IOException
{
super("Listen thread");
this.myNetworkListenThread = par1NetworkListenThread;
this.myPort = par3;
this.myServerSocket = new ServerSocket(par3, 0, par2InetAddress);
this.myServerAddress = par2InetAddress == null ? this.myServerSocket.getInetAddress() : par2InetAddress;
this.myServerSocket.setPerformancePreferences(0, 2, 1);
}
示例3: CallableConnectionName
import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
CallableConnectionName(NetworkListenThread p_i1531_1_, NetServerHandler p_i1531_2_) {
this.field_111200_b = p_i1531_1_;
this.field_111201_a = p_i1531_2_;
}
示例4: func_71212_ac
import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public NetworkListenThread func_71212_ac() {
return this.func_71343_a();
}
示例5: func_71212_ac
import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public NetworkListenThread func_71212_ac() {
return this.field_71336_r;
}
示例6: getNetworkThread
import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public NetworkListenThread getNetworkThread()
{
return this.getServerListeningThread();
}
示例7: getNetworkThread
import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public NetworkListenThread getNetworkThread()
{
return this.networkThread;
}
示例8: func_71212_ac
import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public abstract NetworkListenThread func_71212_ac();
示例9: getNetworkThread
import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public abstract NetworkListenThread getNetworkThread();