Package com.qfs.snl.dtos
Class ProtocolConfigurationDto
java.lang.Object
com.qfs.snl.dtos.ProtocolConfigurationDto
- All Implemented Interfaces:
Serializable
The protocol configuration It contains the name of the protocol and all the necessary
configuration for that specific controller.
- Author:
- ActiveViam
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.ProtocolConfigurationDto(String protocol, long monitorId, String configuration) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the configuration.longReturns the monitor unique id.Returns the protocol to use.voidsetConfiguration(String configuration) Sets the configuration.voidsetMonitorId(long monitorId) Sets the monitor unique id.voidsetProtocol(String protocol) Sets the name of the protocol to use.toString()
-
Constructor Details
-
ProtocolConfigurationDto
public ProtocolConfigurationDto()Constructor. -
ProtocolConfigurationDto
Constructor.- Parameters:
protocol- name of the protocolmonitorId- id of the monitorconfiguration- configuration
-
-
Method Details
-
getProtocol
Returns the protocol to use. -
setProtocol
Sets the name of the protocol to use. -
getMonitorId
public long getMonitorId()Returns the monitor unique id. -
setMonitorId
public void setMonitorId(long monitorId) Sets the monitor unique id. -
getConfiguration
Returns the configuration. -
setConfiguration
Sets the configuration.- Parameters:
configuration- as string
-
toString
-