C# 클래스 CmisSync.Lib.Consumer.SituationSolver.RemoteObjectAdded

Solver to handle a new object which has been found on the server
상속: AbstractEnhancedSolver
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
RemoteObjectAdded ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, TransmissionManager transmissionManager, IFileSystemInfoFactory fsFactory = null ) : System

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.RemoteObjectAdded class.

Solve ( IFileSystemInfo localFile, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void

Adds the Object to Disk and Database

비공개 메소드들

메소드 설명
MergeExistingFileWithRemoteFile ( IFileInfo file, IDocument remoteDoc, System.Guid guid, byte &localHash ) : bool

메소드 상세

RemoteObjectAdded() 공개 메소드

Initializes a new instance of the CmisSync.Lib.Consumer.SituationSolver.RemoteObjectAdded class.
public RemoteObjectAdded ( ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, TransmissionManager transmissionManager, IFileSystemInfoFactory fsFactory = null ) : System
session ISession Cmis session.
storage IMetaDataStorage Meta data storage.
transmissionStorage IFileTransmissionStorage Transmission progress storage.
transmissionManager CmisSync.Lib.Queueing.TransmissionManager Transmission manager.
fsFactory IFileSystemInfoFactory File system factory.
리턴 System

Solve() 공개 메소드

Adds the Object to Disk and Database
/// Is thrown when remoteId is not prefetched. ///
public Solve ( IFileSystemInfo localFile, IObjectId remoteId, ContentChangeType localContent = ContentChangeType.NONE, ContentChangeType remoteContent = ContentChangeType.NONE ) : void
localFile IFileSystemInfo /// Local file. ///
remoteId IObjectId /// Remote Object (already fetched). ///
localContent ContentChangeType Hint if the local content has been changed.
remoteContent ContentChangeType Information if the remote content has been changed.
리턴 void