org.jumpmind.symmetric.fs.client.connector
Class LocalTransportConnector

java.lang.Object
  extended by org.jumpmind.symmetric.fs.client.connector.AbstractTransportConnector
      extended by org.jumpmind.symmetric.fs.client.connector.LocalTransportConnector
All Implemented Interfaces:
ITransportConnector

public class LocalTransportConnector
extends AbstractTransportConnector
implements ITransportConnector


Field Summary
 
Fields inherited from class org.jumpmind.symmetric.fs.client.connector.AbstractTransportConnector
log, node, persisterSerivces, properties
 
Constructor Summary
LocalTransportConnector()
           
 
Method Summary
 void connect(SyncStatus syncStatus)
          Validate the the destination is available.
protected  void move(String sourceDir, String targetDir, List<String> toSend, List<String> sent, List<String> toDelete, List<String> deleted)
           
 void prepare(SyncStatus syncStatus)
          Update the sync status with the list of files to receive.
 void receive(SyncStatus syncStatus, DirectoryChangeTracker clientDirectoryChangeTracker)
           
 void send(SyncStatus syncStatus)
           
 
Methods inherited from class org.jumpmind.symmetric.fs.client.connector.AbstractTransportConnector
close, destroy, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jumpmind.symmetric.fs.client.connector.ITransportConnector
close, destroy, init
 

Constructor Detail

LocalTransportConnector

public LocalTransportConnector()
Method Detail

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
Overrides:
connect in class AbstractTransportConnector
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
Overrides:
prepare in class AbstractTransportConnector

send

public void send(SyncStatus syncStatus)
Specified by:
send in interface ITransportConnector
Overrides:
send in class AbstractTransportConnector

receive

public void receive(SyncStatus syncStatus,
                    DirectoryChangeTracker clientDirectoryChangeTracker)
Specified by:
receive in interface ITransportConnector
Overrides:
receive in class AbstractTransportConnector

move

protected void move(String sourceDir,
                    String targetDir,
                    List<String> toSend,
                    List<String> sent,
                    List<String> toDelete,
                    List<String> deleted)


Copyright © 2012-2013 JumpMind, Inc.. All Rights Reserved.