| Home | DB | Replicator | CRM | Solutions |
|
|
|
Product Overview Download Daffodil Replicator (E) Getting Started Guide User Guide Features How it Works? Usage Scenarios Usage Examples Recommended JDBC Drivers Replicator Class Reference Sample Java Code Error Messages Daffodil Replicator (E) FAQ Daffodil Replicator (E) BLOG User Forum Buy |
java.lang.Object
public class
Replicator
Description: Replicator class start the Replicator and give call to job/subscription for execution. It has replicator data source and job list.It also start the FTP server for downloading the scheme and data changes. Copyright: Copyright 2006 Company: Daffodil Sotware Ltd.
addJobpublic void
addJob (
_Job job)
throws RepException
Add the job in job list.Exception has been thrown if job already exist with same name. Parameters: job -
Throws: RepException
addSubscriptionpublic void
addSubscription(Subscription subscription)
throws RepException
Add the subscription in subscription list.Exception has been thrown if subscription already exist with same name. Parameters: subscription -
Throws: RepException
deleteJobpublic boolean
deleteJob(java.lang.String jobName)
throws RepException
Find the job in list and remove it from list Parameters: jobName - _JobName
Returns: Throws: RepException
deleteSubscriptionpublic boolean
deleteSubscription (java.lang.String subscriptionName)
throws RepException
Find the subscription in subscription list and remove it from list. Parameters: subscriptionName -
Returns: Throws: RepException
doJobpublic void
doJob (java.lang.String jobName)
throws RepException
For manual execution of job Is we required to have name of all the job Name in interface. Throws: RepException
doSubscriptionpublic void
doSubscription (java.lang.String subscriptionName)
throws RepException
For mannual execution of subscription, we have required a subscription name for run the subscription. Parameters: subscriptionName -
Throws: RepException
doJobspublic void
doJobs ()
throws RepException
Perform all the jobs that we have using thread Throws: RepException
doSubscriptionspublic void
doSubscriptions ()
throws RepException
Perform all the subscriptions. Throws: RepException
startpublic boolean
start ()
throws RepException
Set start replication server flag true. Make the object of DFTPServer. Set the DFTPServer properties and start it. Make the object of DFTPClient. Throws: RepException
stoppublic boolean
stop ()
Stop the FTP and Replicator. getJobpublic _Job
getJob (java.lang.String jobName)
Give the object of job on the basis of object passed to it. Parameters: jobName -
Returns: getSubscriptionpublic Subscription
getSubscription (java.lang.String subscriptionName)
Give the object of subscription on the basis of passed parameter. Parameters: subscriptionName -
Returns: deleteDataSourcepublic boolean
deleteDataSource (java.lang.String dataSouceName)
throws RepException
Find the job in list and remove from it. Parameters: dataSouceName -
Throws: RepException
getJobListpublic java.util.ArrayList
getJobList ()
Get all replicator job in list. Returns: job list getSubscriptionListpublic java.util.ArrayList
getSubscriptionList ()
Get all replicator subscriptions in list. Returns: addDataSourcepublic void
addDataSource (_DataSource data)
throws RepException
Add the data source in list. Set the read and write flag true if datasource is an instanceof RemoteDataSource. Parameters: data - is instance of _DataSource
Throws: RepException
|
|