C# Class Versionr.Network.SharedNetwork

Show file Open project: eatplayhate/versionr Class Usage Examples

Public Properties

Property Type Description
AllowedProtocols Protocol[]

Public Methods

Method Description
CheckRecord ( SharedNetworkInfo sharedInfo, Record record ) : void
SupportsAuthentication ( Protocol protocol ) : bool

Private Methods

Method Description
CheckRecords ( SharedNetworkInfo sharedInfo, VersionInfo info ) : void
CreateFusedAlteration ( SharedNetworkInfo sharedInfo, Alteration y ) : FusedAlteration
CreatePack ( SharedNetworkInfo sharedInfo, List versionData ) : VersionPack
CreateVersionInfo ( SharedNetworkInfo sharedInfo, System.Objects x ) : VersionInfo
FindLocalOrRemoteVersionInfo ( System.Guid possibleChild, SharedNetwork clientInfo, List &mergeInfo ) : Objects.Version
GetAncestry ( System.Guid version, SharedNetworkInfo sharedInfo ) : HashSet
GetAncestryInternal ( HashSet checkedVersions, System.Guid version, SharedNetwork clientInfo ) : void
GetSender ( SharedNetworkInfo sharedInfo, SendStats stats = null ) : Func
GetVersionList ( SharedNetworkInfo info, System.Objects version, Stack &branchesToSend, Stack &versionsToSend ) : bool
GetVersionListInternal ( SharedNetworkInfo info, System.Objects version, Stack branchesToSend, Stack versionsToSend ) : bool
ImportBranchJournal ( SharedNetworkInfo sharedInfo, bool interactive ) : bool
ImportBranches ( SharedNetwork sharedInfo ) : void
ImportRecords ( SharedNetworkInfo sharedInfo, bool enablePrinter = false ) : bool
IsAncestor ( System.Guid ancestor, System.Guid possibleChild, SharedNetwork clientInfo ) : bool
IsAncestorInternal ( HashSet checkedVersions, System.Guid ancestor, System.Guid possibleChild, SharedNetwork clientInfo ) : bool
ProcesPushObjectQuery ( SharedNetworkInfo sharedInfo ) : void
ProcessPushObjectQuery ( SharedNetworkInfo sharedInfo, PushObjectQuery query ) : PushObjectResponse
QueryBranch ( SharedNetworkInfo info, Stack branchesToSend, Branch branch ) : bool
ReceiveBranchJournal ( SharedNetworkInfo sharedInfo ) : void
ReceiveBranches ( SharedNetworkInfo sharedInfo ) : void
ReceivePack ( SharedNetworkInfo sharedInfo, VersionPack pack ) : void
ReceiveRecordParents ( SharedNetwork sharedInfo, RecordParentPack response ) : void
ReceiveVersions ( SharedNetworkInfo sharedInfo ) : void
RequestRecordData ( SharedNetworkInfo sharedInfo ) : void
RequestRecordDataUnmapped ( SharedNetworkInfo sharedInfo, List missingRecordData ) : List
RequestRecordMetadata ( SharedNetworkInfo sharedInfo ) : void
SendBranchJournal ( SharedNetworkInfo info ) : bool
SendBranches ( SharedNetworkInfo sharedInfo, Stack branchesToSend ) : bool
SendRecordDataUnmapped ( SharedNetworkInfo sharedInfo ) : bool
SendVersions ( SharedNetworkInfo sharedInfo, Stack versionsToSend ) : bool

Method Details

CheckRecord() public static method

public static CheckRecord ( SharedNetworkInfo sharedInfo, Record record ) : void
sharedInfo SharedNetworkInfo
record Versionr.Objects.Record
return void

SupportsAuthentication() public static method

public static SupportsAuthentication ( Protocol protocol ) : bool
protocol Protocol
return bool

Property Details

AllowedProtocols public static property

public static Protocol[] AllowedProtocols
return Protocol[]