Class Network
java.lang.Object
domain.Machine
domain.Network
Represents a network machine (Switch, Router, Firewall, etc.) |
Représente une machine réseau (Switch, Router, Firewall, etc.).
- Author:
- FIGUEIRAS Jossua
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a Network instance with explicit values | Crée une instance Network avec des valeurs explicites.Creates a Network instance from a SQL result set | Crée une instance Network à partir d'un résultat SQL. -
Method Summary
Methods inherited from class Machine
addInDB, deleteMachine, getComponents, getHostname, getId, getIpAddress, getMacAdress, getMachine, getOs, getStatus, modifyInDb, whoami
-
Constructor Details
-
Network
public Network(int id, String hostname, String ip_address, String mac_adress, String os, String status) Creates a Network instance with explicit values | Crée une instance Network avec des valeurs explicites.- Parameters:
id- the unique identifier of the machine | l'identifiant unique de la machinehostname- the hostname of the network machine | le nom d'hôte de la machine réseauip_address- the IP address of the machine | l'adresse IP de la machinemac_adress- the MAC address of the machine | l'adresse MAC de la machineos- the operating system of the machine | le système d'exploitation de la machinestatus- the status of the machine (Online, Offline, etc.) | le statut de la machine (En ligne, Hors ligne, etc.)
-
Network
Creates a Network instance from a SQL result set | Crée une instance Network à partir d'un résultat SQL.- Parameters:
sqlResult- the SQL result set containing network machine data | le résultat SQL contenant les données de la machine réseau
-