C# 클래스 Goedel.Mesh.MeshClient

High level Mesh Client interface.
파일 보기 프로젝트 열기: hallambaker/Mathematical-Mesh 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AccountID string
AccountName string
Portal string
UDF string

보호된 프로퍼티들

프로퍼티 타입 설명
MeshService MeshService

공개 메소드들

메소드 설명
ConnectClose ( SignedConnectionRequest SignedConnectionRequest, ConnectionStatus ConnectionStatus ) : ConnectCompleteResponse

Close a pending device connection request.

ConnectPending ( ) : ConnectPendingResponse

Get a list of pending device connection requests.

ConnectRequest ( SignedDeviceProfile SignedDeviceProfile ) : ConnectStartResponse

Initiate a device connection request.

ConnectStatus ( string UDF ) : ConnectStatusResponse

Get status for a pending device connection request.

CreatePersonalProfile ( string AccountID, SignedPersonalProfile SignedCurrentProfile ) : CreateResponse

Create a new account and set the personal profile

GetApplicationProfile ( string ID ) : SignedApplicationProfile

Retrieve an application profile by unique ID.

GetMailProfile ( ) : MailProfile

Retreive the default mail profile.

GetNetworkProfile ( ) : NetworkProfile

Retreive the default network profile.

GetPasswordProfile ( ) : PasswordProfile

Retreive the default password profile.

GetPersonalProfile ( ) : SignedPersonalProfile

Get the active profile associated with the current account.

MakeDefault ( string UDF ) : void

Make the current portal and account name the default

MeshClient ( string Portal ) : System

Connect up to the specified Mesh Portal

MeshClient ( string Portal, string AccountID ) : System

Connect up to a specified Mesh Portal and account.

Publish ( OfflineEscrowEntry OfflineEscrowEntry ) : PublishResponse

Publish an offline escrow entry to the mesh.

Publish ( SignedProfile SignedProfile ) : PublishResponse

Publish a signed profile entry to the mesh.

Recover ( string Identifier ) : OfflineEscrowEntry

Recover an offline escrow entry

Validate ( string Account ) : ValidateResponse

Check to see if an account name is acceptable for use at a portal. Note that a positive response to a validation request does not guarantee that the account name will be available for a subsequent call to CreatePersonalProfile.

메소드 상세

ConnectClose() 공개 메소드

Close a pending device connection request.
public ConnectClose ( SignedConnectionRequest SignedConnectionRequest, ConnectionStatus ConnectionStatus ) : ConnectCompleteResponse
SignedConnectionRequest SignedConnectionRequest The connection request to close.
ConnectionStatus ConnectionStatus The status to set.
리턴 ConnectCompleteResponse

ConnectPending() 공개 메소드

Get a list of pending device connection requests.
public ConnectPending ( ) : ConnectPendingResponse
리턴 ConnectPendingResponse

ConnectRequest() 공개 메소드

Initiate a device connection request.
public ConnectRequest ( SignedDeviceProfile SignedDeviceProfile ) : ConnectStartResponse
SignedDeviceProfile SignedDeviceProfile The device profile to register.
리턴 ConnectStartResponse

ConnectStatus() 공개 메소드

Get status for a pending device connection request.
public ConnectStatus ( string UDF ) : ConnectStatusResponse
UDF string Fingerprint of the device that requested the connection.
리턴 ConnectStatusResponse

CreatePersonalProfile() 공개 메소드

Create a new account and set the personal profile
public CreatePersonalProfile ( string AccountID, SignedPersonalProfile SignedCurrentProfile ) : CreateResponse
AccountID string The requested account identifier.
SignedCurrentProfile SignedPersonalProfile The personal profile to use.
리턴 CreateResponse

GetApplicationProfile() 공개 메소드

Retrieve an application profile by unique ID.
public GetApplicationProfile ( string ID ) : SignedApplicationProfile
ID string the unique id of the profile.
리턴 SignedApplicationProfile

GetMailProfile() 공개 메소드

Retreive the default mail profile.
public GetMailProfile ( ) : MailProfile
리턴 MailProfile

GetNetworkProfile() 공개 메소드

Retreive the default network profile.
public GetNetworkProfile ( ) : NetworkProfile
리턴 NetworkProfile

GetPasswordProfile() 공개 메소드

Retreive the default password profile.
public GetPasswordProfile ( ) : PasswordProfile
리턴 PasswordProfile

GetPersonalProfile() 공개 메소드

Get the active profile associated with the current account.
public GetPersonalProfile ( ) : SignedPersonalProfile
리턴 SignedPersonalProfile

MakeDefault() 공개 메소드

Make the current portal and account name the default
public MakeDefault ( string UDF ) : void
UDF string Fingerprint of the profile to make default.
리턴 void

MeshClient() 공개 메소드

Connect up to the specified Mesh Portal
public MeshClient ( string Portal ) : System
Portal string The portal to connect to.
리턴 System

MeshClient() 공개 메소드

Connect up to a specified Mesh Portal and account.
public MeshClient ( string Portal, string AccountID ) : System
Portal string The portal to connect to.
AccountID string The account identifier.
리턴 System

Publish() 공개 메소드

Publish an offline escrow entry to the mesh.
public Publish ( OfflineEscrowEntry OfflineEscrowEntry ) : PublishResponse
OfflineEscrowEntry OfflineEscrowEntry The escrow entry to publish
리턴 PublishResponse

Publish() 공개 메소드

Publish a signed profile entry to the mesh.
public Publish ( SignedProfile SignedProfile ) : PublishResponse
SignedProfile SignedProfile The profile to publish
리턴 PublishResponse

Recover() 공개 메소드

Recover an offline escrow entry
public Recover ( string Identifier ) : OfflineEscrowEntry
Identifier string The UDF of the decryption key
리턴 OfflineEscrowEntry

Validate() 공개 메소드

Check to see if an account name is acceptable for use at a portal. Note that a positive response to a validation request does not guarantee that the account name will be available for a subsequent call to CreatePersonalProfile.
public Validate ( string Account ) : ValidateResponse
Account string The requested account name.
리턴 ValidateResponse

프로퍼티 상세

AccountID 공개적으로 프로퍼티

The account Identifier.
public string AccountID
리턴 string

AccountName 공개적으로 프로퍼티

The account name.
public string AccountName
리턴 string

MeshService 보호되어 있는 프로퍼티

The MeshProtocol Service provider.
protected MeshService,Goedel.Mesh MeshService
리턴 MeshService

Portal 공개적으로 프로퍼티

The portal address.
public string Portal
리턴 string

UDF 공개적으로 프로퍼티

Fingerprint of the Personal Profile.
public string UDF
리턴 string