Class NettyServer

java.lang.Object
net.minestom.server.network.netty.NettyServer

public class NettyServer
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    NettyServer​(PacketProcessor packetProcessor)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getAddress()  
    int getPort()  
    void start​(java.lang.String address, int port)  
    void stop()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • start

      public void start​(java.lang.String address, int port)
    • getAddress

      public java.lang.String getAddress()
    • getPort

      public int getPort()
    • stop

      public void stop()