Package com.decs.shared
Class SlaveInfo
java.lang.Object
com.decs.shared.SlaveInfo
- All Implemented Interfaces:
Serializable
Slave Information Class
This class represents a DECS-Slave instance in the system.
- Version:
- 1.0
- Author:
- Bruno Guiomar
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate intprivate static final longprivate SlaveService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()intgetPort()voidsetSlaveService(SlaveService slaveService)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
id
-
address
-
port
private int port -
slaveService
-
-
Constructor Details
-
SlaveInfo
Class Constructor- Parameters:
id- Slave identificationaddress- Slave network Address (IP)port- Slave network port
-
-
Method Details
-
getId
-
getAddress
-
getPort
public int getPort() -
getSlaveService
-