org.jumpmind.symmetric.fs.client.connector
Interface ITransportConnector

All Known Implementing Classes:
AbstractTransportConnector, HttpTransportConnector, LocalTransportConnector

public interface ITransportConnector


Method Summary
 void close()
           
 void connect(SyncStatus syncStatus)
          Validate the the destination is available.
 void destroy()
           
 void init(Node serverNode, IPersisterServices persisterServices, TypedProperties properties)
          Initialize the connector.
 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)
           
 

Method Detail

init

void init(Node serverNode,
          IPersisterServices persisterServices,
          TypedProperties properties)
Initialize the connector. If created from the TransportConnectorFactory then this method is called by the factory.


connect

void connect(SyncStatus syncStatus)
Validate the the destination is available. Initialize connections.

Parameters:
syncStatus - TODO

prepare

void prepare(SyncStatus syncStatus)
Update the sync status with the list of files to receive.


send

void send(SyncStatus syncStatus)

receive

void receive(SyncStatus syncStatus,
             DirectoryChangeTracker clientDirectoryChangeTracker)

close

void close()

destroy

void destroy()


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