public class PersistentSenderVO extends PublisherVO<PersistentPointVO>
PublisherVO.Type
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
authorizationKey |
private static ExportCodes |
EVENT_CODES |
private java.lang.String |
host |
private int |
port |
private static long |
serialVersionUID |
private static ExportCodes |
SYNC_TYPE_CODES |
static int |
SYNC_TYPE_DAILY |
static int |
SYNC_TYPE_MONTHLY |
static int |
SYNC_TYPE_NONE |
static int |
SYNC_TYPE_WEEKLY |
private int |
syncType |
private static int |
version |
private java.lang.String |
xidPrefix |
points, XID_PREFIX
Constructor and Description |
---|
PersistentSenderVO() |
Modifier and Type | Method and Description |
---|---|
protected PersistentPointVO |
createPublishedPointInstance() |
PublisherRT<PersistentPointVO> |
createPublisherRT() |
java.lang.String |
getAuthorizationKey() |
com.serotonin.web.i18n.LocalizableMessage |
getConfigDescription() |
ExportCodes |
getEventCodes() |
protected void |
getEventTypesImpl(java.util.List<EventTypeVO> eventTypes) |
java.lang.String |
getHost() |
int |
getPort() |
int |
getSyncType() |
PublisherVO.Type |
getType() |
java.lang.String |
getXidPrefix() |
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 |
setAuthorizationKey(java.lang.String authorizationKey) |
void |
setHost(java.lang.String host) |
void |
setPort(int port) |
void |
setSyncType(int syncType) |
void |
setXidPrefix(java.lang.String xidPrefix) |
void |
validate(com.serotonin.web.dwr.DwrResponseI18n response) |
private void |
writeObject(java.io.ObjectOutputStream out) |
addDefaultEventCodes, createPublisherVO, getCacheWarningSize, getEventTypes, getId, getName, getPoints, getSnapshotSendPeriods, getSnapshotSendPeriodType, getTypeMessage, getXid, isChangesOnly, isEnabled, isNew, isSendSnapshot, setCacheWarningSize, setChangesOnly, setEnabled, setId, setName, setPoints, setSendSnapshot, setSnapshotSendPeriods, setSnapshotSendPeriodType, setXid
private static final ExportCodes EVENT_CODES
public static final int SYNC_TYPE_NONE
public static final int SYNC_TYPE_DAILY
public static final int SYNC_TYPE_WEEKLY
public static final int SYNC_TYPE_MONTHLY
private static ExportCodes SYNC_TYPE_CODES
private java.lang.String host
private int port
private java.lang.String authorizationKey
private java.lang.String xidPrefix
private int syncType
private static final long serialVersionUID
private static final int version
protected void getEventTypesImpl(java.util.List<EventTypeVO> eventTypes)
getEventTypesImpl
in class PublisherVO<PersistentPointVO>
public ExportCodes getEventCodes()
getEventCodes
in class PublisherVO<PersistentPointVO>
public com.serotonin.web.i18n.LocalizableMessage getConfigDescription()
getConfigDescription
in class PublisherVO<PersistentPointVO>
public PublisherVO.Type getType()
getType
in class PublisherVO<PersistentPointVO>
public PublisherRT<PersistentPointVO> createPublisherRT()
createPublisherRT
in class PublisherVO<PersistentPointVO>
protected PersistentPointVO createPublishedPointInstance()
createPublishedPointInstance
in class PublisherVO<PersistentPointVO>
public java.lang.String getHost()
public void setHost(java.lang.String host)
public int getPort()
public void setPort(int port)
public java.lang.String getAuthorizationKey()
public void setAuthorizationKey(java.lang.String authorizationKey)
public java.lang.String getXidPrefix()
public void setXidPrefix(java.lang.String xidPrefix)
public int getSyncType()
public void setSyncType(int syncType)
public void validate(com.serotonin.web.dwr.DwrResponseI18n response)
validate
in class PublisherVO<PersistentPointVO>
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.io.IOException
public void jsonSerialize(java.util.Map<java.lang.String,java.lang.Object> map)
jsonSerialize
in interface com.serotonin.json.JsonSerializable
jsonSerialize
in class PublisherVO<PersistentPointVO>
public void jsonDeserialize(com.serotonin.json.JsonReader reader, com.serotonin.json.JsonObject json) throws com.serotonin.json.JsonException, LocalizableJsonException
jsonDeserialize
in interface com.serotonin.json.JsonSerializable
jsonDeserialize
in class PublisherVO<PersistentPointVO>
com.serotonin.json.JsonException
LocalizableJsonException