當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。