public class BackupServerApp extends ThinApplication implements BackupConstants, ActionListener
| Modifier and Type | Field and Description |
|---|---|
static Vector<Object> |
FAKE_TRX |
protected int |
iCycleTime |
protected Timer |
m_cycletimer |
protected double |
m_lastWrite |
protected BaseMessageFilter |
m_messageFilter
The message filter.
|
protected String |
m_strFilenameTemplate |
protected Timer |
m_timeouttimer |
protected ObjectOutputStream |
m_writer |
ANDROID_IMAGE_UTIL, BASE_CLASS, BUNDLE, CREATE_USER_REQUIRED, DEFAULT_CONNECTION_TYPE, gTaskScheduler, LOCAL_SERVICE, LOGIN_REQUIRED, m_mainRemoteTask, m_mapTasks, m_muffinManager, m_PhysicalDatabaseParent, m_properties, m_resources, m_taskMain, MAIL_TO, PROPERTIES, PROXY, REMOTE_SERVICE, RESOURCES, SWING_IMAGE_UTIL, THIN_RES_PATH, TOKENSBACKUP_QUEUE_NAME, BACKUP_QUEUE_TYPE, DEFAULT_PATTERN, DEFAULT_REGEX, MESSAGE_PARAM, NOTRX, SEND| Constructor and Description |
|---|
BackupServerApp()
Chat Screen Constructor.
|
BackupServerApp(String[] args)
Chat Screen Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
Timer handling.
|
void |
backupTrxLog(Object objMessage)
Add this data to the backup stream.
|
void |
checkTimeout() |
String |
dateToString(Date date) |
void |
flush(boolean bSendFakeTrx)
Flush the buffer.
|
void |
free() |
String |
getBackupFilename(String strFilenameTemplate) |
String |
getFilename() |
ObjectOutputStream |
getWriter()
Get the backup stream writer.
|
void |
init(Object env,
Map<String,Object> properties,
Object applet)
Chat Screen Constructor.
|
static void |
main(String[] args)
The main() method acts as the applet's entry point when it is run
as a standalone application.
|
void |
startCycleTimer(int iDelayMS)
Wait, then close the file so a new file can open.
|
void |
startNextFile() |
void |
startTimeoutTimer(int iDelayMS)
Wait, then close the file so a new file can open.
|
getMessageManageraddTask, addUserParamsToURL, changePassword, checkSecurity, classMatch, createNewUser, createRemoteTask, getAppServerName, getBaseServletPath, getCodeBase, getCodeBase, getConnectionType, getLanguage, getLocale, getMainTask, getMessageManager, getMuffinManager, getParameterByReflection, getPDatabaseParent, getProperties, getProperty, getRemoteTask, getRemoteTask, getRemoteTask, getResourceBundle, getResourcePath, getResources, getResourceURL, getResPackage, getRootApplet, getSecurityErrorText, getServerProperties, getString, getSystemRecordOwner, getTaskList, getTaskScheduler, login, registerUniqueApplication, removeTask, retrieveUserProperties, setLanguage, setMuffinManager, setProperties, setProperty, setResourceBundle, setRootApplet, setTaskScheduler, showTheDocumentprotected ObjectOutputStream m_writer
protected String m_strFilenameTemplate
protected Timer m_cycletimer
protected Timer m_timeouttimer
protected double m_lastWrite
protected int iCycleTime
protected BaseMessageFilter m_messageFilter
public BackupServerApp()
public BackupServerApp(String[] args)
parent - Typically, you pass the BaseApplet as the parent.@record - and the record or GridTableModel as the parent.public void init(Object env, Map<String,Object> properties, Object applet)
init in interface Appinit in class ThinApplicationparent - Typically, you pass the BaseApplet as the parent.@record - and the record or GridTableModel as the parent.public void free()
free in interface Freeablefree in class ThinApplicationpublic void backupTrxLog(Object objMessage)
strMessage - the data to log.public void startNextFile()
public ObjectOutputStream getWriter()
public String getFilename()
public static void main(String[] args)
public void startCycleTimer(int iDelayMS)
public void startTimeoutTimer(int iDelayMS)
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void checkTimeout()
public void flush(boolean bSendFakeTrx)
bSendFakeTrx - Send a fake trx before flushing (This guarantees activity on the stream before the flush [In case it just autoflushed the entire buffer])Copyright © 2013 jbundle.org. All Rights Reserved.