public class Dnp3IpDataSourceVO extends Dnp3DataSourceVO<Dnp3IpDataSourceVO>
DataSourceVO.Type
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
host |
private int |
port |
private static long |
serialVersionUID |
static DataSourceVO.Type |
TYPE |
private static int |
version |
XID_PREFIX
Constructor and Description |
---|
Dnp3IpDataSourceVO() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list,
Dnp3IpDataSourceVO from) |
DataSourceRT |
createDataSourceRT() |
com.serotonin.web.i18n.LocalizableMessage |
getConnectionDescription() |
java.lang.String |
getHost() |
int |
getPort() |
DataSourceVO.Type |
getType() |
void |
jsonDeserialize(com.serotonin.json.JsonReader reader,
com.serotonin.json.JsonObject json) |
void |
jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map) |
private void |
readObject(java.io.ObjectInputStream in) |
void |
setHost(java.lang.String host) |
void |
setPort(int port) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response) |
private void |
writeObject(java.io.ObjectOutputStream out) |
addEventTypes, addPropertiesImpl, createPointLocator, deserializePeriodType, getEventCodes, getRbePeriodType, getRbePollPeriods, getRetries, getSlaveAddress, getSourceAddress, getStaticPollPeriods, getSynchPeriods, getTimeout, isQuantize, serializePeriodType, setQuantize, setRbePeriodType, setRbePollPeriods, setRetries, setSlaveAddress, setSourceAddress, setStaticPollPeriods, setSynchPeriods, setTimeout
addProperties, addPropertyChanges, copy, createDataSourceVO, createEventType, createEventType, deserializeUpdatePeriodType, generateXid, getAlarmLevel, getEventType, getEventTypes, getId, getMessage, getName, getTypeKey, getXid, isEnabled, isNew, serializeUpdatePeriodType, setAlarmLevel, setEnabled, setId, setName, setXid
public static final DataSourceVO.Type TYPE
private java.lang.String host
private int port
private static final long serialVersionUID
private static final int version
public com.serotonin.web.i18n.LocalizableMessage getConnectionDescription()
getConnectionDescription
in class DataSourceVO<Dnp3IpDataSourceVO>
public DataSourceVO.Type getType()
getType
in class DataSourceVO<Dnp3IpDataSourceVO>
public DataSourceRT createDataSourceRT()
createDataSourceRT
in class DataSourceVO<Dnp3IpDataSourceVO>
public java.lang.String getHost()
public void setHost(java.lang.String host)
public int getPort()
public void setPort(int port)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate
in class Dnp3DataSourceVO<Dnp3IpDataSourceVO>
protected void addPropertyChangesImpl(java.util.List<com.serotonin.web.i18n.LocalizableMessage> list, Dnp3IpDataSourceVO from)
addPropertyChangesImpl
in class Dnp3DataSourceVO<Dnp3IpDataSourceVO>
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public void jsonDeserialize(com.serotonin.json.JsonReader reader, com.serotonin.json.JsonObject json) throws com.serotonin.json.JsonException
jsonDeserialize
in interface com.serotonin.json.JsonSerializable
jsonDeserialize
in class Dnp3DataSourceVO<Dnp3IpDataSourceVO>
com.serotonin.json.JsonException
public void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize
in interface com.serotonin.json.JsonSerializable
jsonSerialize
in class Dnp3DataSourceVO<Dnp3IpDataSourceVO>