org.jumpmind.symmetric.fs.client.connector
Class AbstractTransportConnector
java.lang.Object
org.jumpmind.symmetric.fs.client.connector.AbstractTransportConnector
- All Implemented Interfaces:
- ITransportConnector
- Direct Known Subclasses:
- HttpTransportConnector, LocalTransportConnector
public class AbstractTransportConnector
- extends Object
- implements ITransportConnector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.slf4j.Logger log
node
protected Node node
persisterSerivces
protected IPersisterServices persisterSerivces
properties
protected TypedProperties properties
AbstractTransportConnector
public AbstractTransportConnector()
init
public void init(Node serverNode,
IPersisterServices persisterServices,
TypedProperties properties)
- Description copied from interface:
ITransportConnector
- Initialize the connector. If created from the
TransportConnectorFactory then this method is called by the
factory.
- Specified by:
init in interface ITransportConnector
connect
public void connect(SyncStatus syncStatus)
- Description copied from interface:
ITransportConnector
- Validate the the destination is available. Initialize connections.
- Specified by:
connect in interface ITransportConnector
- Parameters:
syncStatus - TODO
prepare
public void prepare(SyncStatus syncStatus)
- Description copied from interface:
ITransportConnector
- Update the sync status with the list of files to receive.
- Specified by:
prepare in interface ITransportConnector
send
public void send(SyncStatus syncStatus)
- Specified by:
send in interface ITransportConnector
receive
public void receive(SyncStatus syncStatus,
DirectoryChangeTracker clientDirectoryChangeTracker)
- Specified by:
receive in interface ITransportConnector
close
public void close()
- Specified by:
close in interface ITransportConnector
destroy
public void destroy()
- Specified by:
destroy in interface ITransportConnector
Copyright © 2012-2013 JumpMind, Inc.. All Rights Reserved.