public class Server extends ConfigElement
Modifier and Type | Field and Description |
---|---|
InetAddress |
ip
The IP address (default
0.0.0.0 ) |
int |
port
The port to listen on
|
String |
type
The type of protocol that listens on this socket
|
Constructor and Description |
---|
Server() |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
addAttribute, addElement, getOtherAttributes, getOtherChildren, getParent, setParent
public String type
public InetAddress ip
0.0.0.0
)public int port
Copyright © 2016. All rights reserved.