Package velo.ladaalpha.fields.internet
Class Target
java.lang.Object
velo.ladaalpha.fields.internet.Target
The Class Target.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionGets the hostname.getIp()Gets the ip.Gets the open ports.voidsetHostname(String hostname) Sets the hostname.voidSets the ip.voidsetOpenPorts(ArrayList<Integer> openPorts) Sets the open ports.toString()To string. 
- 
Constructor Details
- 
Target
Instantiates a new target.- Parameters:
 ip- the iphostname- the hostnameopenPorts- the open ports
 
 - 
 - 
Method Details
- 
getIp
Gets the ip.- Returns:
 - the ip
 
 - 
setIp
Sets the ip.- Parameters:
 ip- the new ip
 - 
getHostname
Gets the hostname.- Returns:
 - the hostname
 
 - 
setHostname
Sets the hostname.- Parameters:
 hostname- the new hostname
 - 
getOpenPorts
Gets the open ports.- Returns:
 - the open ports
 
 - 
setOpenPorts
Sets the open ports.- Parameters:
 openPorts- the new open ports
 - 
toString
To string. 
 -