本文整理匯總了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();