traffic.generation
Class HostInformationsClient
java.lang.Object
|
+--traffic.generation.HostInformationsClient
- public class HostInformationsClient
- extends java.lang.Object
Constructor Summary |
HostInformationsClient(java.lang.String hostName,
int rmiPort,
java.lang.String serviceName,
int type)
Constructor HostInformationsClient. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostInformationsClient
public HostInformationsClient(java.lang.String hostName,
int rmiPort,
java.lang.String serviceName,
int type)
- Constructor HostInformationsClient.
- Parameters:
hostName
- the name of the host where the server runrmiPort
- it's the port of the rmiregistrery server which permit to find the HostInformationsServer objectserviceName
-
getServerName
public java.lang.String getServerName()
getUDPServerPort
public int getUDPServerPort()
getServerIPAddress
public java.lang.String getServerIPAddress()
getScenarioFileNumber
public int getScenarioFileNumber()
getClientsList
public java.lang.String[] getClientsList()
getClientsPortList
public int[] getClientsPortList()
getScenarioFilesList
public java.lang.String[] getScenarioFilesList()
getScenarioFiles
public java.util.SortedSet getScenarioFiles()
getUDPClientPort
public int getUDPClientPort()
getClientCOS
public int getClientCOS()
isClientIPv4
public boolean isClientIPv4()