public class PersistentSenderRT extends PublisherRT<PersistentPointVO>
Modifier and Type | Field and Description |
---|---|
static int |
CONNECTION_ABORTED_EVENT |
static int |
CONNECTION_FAILED_EVENT |
static int |
CONNECTION_LOST_EVENT |
(package private) EventType |
connectionAbortedEventType |
(package private) EventType |
connectionFailedEventType |
(package private) EventType |
connectionLostEventType |
(package private) static org.apache.commons.logging.Log |
LOG |
static int |
PROTOCOL_FAILURE_EVENT |
(package private) EventType |
protocolFailureEventType |
private PersistentSendThread |
sendThread |
static int |
SYNC_COMPLETION_EVENT |
(package private) EventType |
syncCompletionEventType |
(package private) PersistentSenderVO |
vo |
POINT_DISABLED_EVENT, pointRTs, queue, QUEUE_SIZE_WARNING_EVENT
Constructor and Description |
---|
PersistentSenderRT(PersistentSenderVO vo) |
Modifier and Type | Method and Description |
---|---|
int |
getConnectingIndex() |
int |
getPacketsToSend() |
int |
getPointCount() |
(package private) java.util.List<PublishedPointRT<PersistentPointVO>> |
getPointRTs() |
(package private) PublishQueue<PersistentPointVO> |
getPublishQueue() |
int |
getQueueSize() |
int |
getSyncRequestsSent() |
int |
getSyncStatus() |
void |
initialize() |
boolean |
isConnected() |
protected void |
pointInitialized(PublishedPointRT<PersistentPointVO> rt) |
(package private) void |
raiseConnectionEvent(EventType type,
java.lang.Exception e) |
(package private) void |
raiseConnectionEvent(EventType type,
com.serotonin.web.i18n.LocalizableMessage lm) |
(package private) void |
raiseSyncCompletionEvent(com.serotonin.web.i18n.LocalizableMessage lm) |
boolean |
startSync() |
private void |
updatePublishedPointVO(PersistentPointVO ppvo,
DataPointVO dpvo) |
createEventContext, createPublishQueue, getId, getPersistentData, getVo, initialize, joinTermination, pointTerminated, publish, scheduleTimeout, setPersistentData, terminate
static final org.apache.commons.logging.Log LOG
public static final int CONNECTION_FAILED_EVENT
public static final int PROTOCOL_FAILURE_EVENT
public static final int CONNECTION_ABORTED_EVENT
public static final int CONNECTION_LOST_EVENT
public static final int SYNC_COMPLETION_EVENT
final EventType connectionFailedEventType
final EventType protocolFailureEventType
final EventType connectionAbortedEventType
final EventType connectionLostEventType
final EventType syncCompletionEventType
final PersistentSenderVO vo
private PersistentSendThread sendThread
public PersistentSenderRT(PersistentSenderVO vo)
PublishQueue<PersistentPointVO> getPublishQueue()
java.util.List<PublishedPointRT<PersistentPointVO>> getPointRTs()
public int getPointCount()
public int getQueueSize()
public boolean isConnected()
public int getConnectingIndex()
public int getPacketsToSend()
public int getSyncStatus()
public int getSyncRequestsSent()
public boolean startSync()
protected void pointInitialized(PublishedPointRT<PersistentPointVO> rt)
pointInitialized
in class PublisherRT<PersistentPointVO>
public void initialize()
initialize
in class PublisherRT<PersistentPointVO>
private void updatePublishedPointVO(PersistentPointVO ppvo, DataPointVO dpvo)
void raiseConnectionEvent(EventType type, java.lang.Exception e)
void raiseConnectionEvent(EventType type, com.serotonin.web.i18n.LocalizableMessage lm)
void raiseSyncCompletionEvent(com.serotonin.web.i18n.LocalizableMessage lm)