当前位置: 首页>>代码示例>>Java>>正文


Java NetworkListenThread类代码示例

本文整理汇总了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);
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:9,代码来源:ServerListenThread.java

示例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);
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:10,代码来源:ServerListenThread.java

示例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_;
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:5,代码来源:CallableConnectionName.java

示例4: func_71212_ac

import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public NetworkListenThread func_71212_ac() {
   return this.func_71343_a();
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:4,代码来源:IntegratedServer.java

示例5: func_71212_ac

import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public NetworkListenThread func_71212_ac() {
   return this.field_71336_r;
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:4,代码来源:DedicatedServer.java

示例6: getNetworkThread

import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public NetworkListenThread getNetworkThread()
{
    return this.getServerListeningThread();
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:5,代码来源:IntegratedServer.java

示例7: getNetworkThread

import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public NetworkListenThread getNetworkThread()
{
    return this.networkThread;
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:5,代码来源:DedicatedServer.java

示例8: func_71212_ac

import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public abstract NetworkListenThread func_71212_ac(); 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:2,代码来源:MinecraftServer.java

示例9: getNetworkThread

import net.minecraft.network.NetworkListenThread; //导入依赖的package包/类
public abstract NetworkListenThread getNetworkThread(); 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:2,代码来源:MinecraftServer.java


注:本文中的net.minecraft.network.NetworkListenThread类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。