Class HostAndPort
- java.lang.Object
-
- de.dytanic.cloudnet.driver.network.HostAndPort
-
public class HostAndPort extends java.lang.ObjectThis class holds a easy IP/Hostname and port configuration for a server or a client bind address
-
-
Constructor Summary
Constructors Constructor Description HostAndPort(java.lang.String host, int port)HostAndPort(java.net.InetSocketAddress socketAddress)HostAndPort(java.net.SocketAddress socketAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHost()intgetPort()java.lang.StringtoString()
-