C# Class Goedel.Mesh.Platform.MeshCatalog

Provides the interface layer between the application and all Mesh functions.
Datei anzeigen Open project: hallambaker/Mathematical-Mesh

Public Methods

Method Description
Add ( PersonalProfile Profile ) : void

Add a personal profile to the current machine

BeginConnect ( string PortalID, string PIN ) : void

Begin the process of connecting to a profile at the specified portal

Commit ( ) : bool

Commit local changes to upstream.

CompleteConnect ( string PortalID ) : void

Complete process of connecting to a profile.

GetApplication ( string UDF ) : MeshApplication

Get an application profile.

GetDevice ( string UDF ) : MeshDevice

Get a device profile.

GetPersonal ( string UDF, string PortalID ) : MeshPersonal

Get a personal profile.

MeshCatalog ( ) : System

Return an interface populated with all the profiles and portal accounts on the current machine

Sync ( ) : bool

Attempt to synchronize the catalog to get the authoritative sources.

Method Details

Add() public method

Add a personal profile to the current machine
public Add ( PersonalProfile Profile ) : void
Profile PersonalProfile Profile to add.
return void

BeginConnect() public method

Begin the process of connecting to a profile at the specified portal
public BeginConnect ( string PortalID, string PIN ) : void
PortalID string The portal to connect to
PIN string Optional one time authenticator.
return void

Commit() public method

Commit local changes to upstream.
public Commit ( ) : bool
return bool

CompleteConnect() public method

Complete process of connecting to a profile.
public CompleteConnect ( string PortalID ) : void
PortalID string The portal to connect to
return void

GetApplication() public method

Get an application profile.
public GetApplication ( string UDF ) : MeshApplication
UDF string Fingerprint of profile.
return MeshApplication

GetDevice() public method

Get a device profile.
public GetDevice ( string UDF ) : MeshDevice
UDF string Fingerprint of profile.
return MeshDevice

GetPersonal() public method

Get a personal profile.
public GetPersonal ( string UDF, string PortalID ) : MeshPersonal
UDF string Profile fingerprint.
PortalID string Portal account.
return MeshPersonal

MeshCatalog() public method

Return an interface populated with all the profiles and portal accounts on the current machine
public MeshCatalog ( ) : System
return System

Sync() public method

Attempt to synchronize the catalog to get the authoritative sources.
public Sync ( ) : bool
return bool