C# Class Brunet.Applications.NodeConfig

Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Méthodes publiques

Свойство Type Description
BrunetNamespace String
EdgeListeners EdgeListener[]
NCService NCServiceConfig
NodeAddress String
PrivateNodeConfig PrivateNodeConfig
Security SecurityPolicy
XmlRpcManager Service
XmppServices XmppConfig

Méthodes publiques

Méthode Description
GetPrivateNodeConfig ( NodeConfig nc ) : NodeConfig

Create a new node config given a public node config and a private node config, used to generate the private node.

NodeConfig ( ) : System
ReadConfig ( string path ) : NodeConfig

Read a NodeConfig, if it fails, then let's find the problem.

WriteConfig ( ) : bool

Writres the config to the file system.

Method Details

GetPrivateNodeConfig() public static méthode

Create a new node config given a public node config and a private node config, used to generate the private node.
public static GetPrivateNodeConfig ( NodeConfig nc ) : NodeConfig
nc NodeConfig
Résultat NodeConfig

NodeConfig() public méthode

public NodeConfig ( ) : System
Résultat System

ReadConfig() public static méthode

Read a NodeConfig, if it fails, then let's find the problem.
public static ReadConfig ( string path ) : NodeConfig
path string
Résultat NodeConfig

WriteConfig() public méthode

Writres the config to the file system.
public WriteConfig ( ) : bool
Résultat bool

Property Details

BrunetNamespace public_oe property

This is equivalent to Node.Realm, only Nodes in the same realm can communicate with each other. Required.
public String BrunetNamespace
Résultat String

EdgeListeners public_oe property

A list of local end points. At least one local end point is required.
public EdgeListener[] EdgeListeners
Résultat EdgeListener[]

NCService public_oe property

public NCServiceConfig NCService
Résultat NCServiceConfig

NodeAddress public_oe property

A stored Node.Address for later re-use. This will be generated by the application and should never be manually entered.
public String NodeAddress
Résultat String

PrivateNodeConfig public_oe property

public PrivateNodeConfig,Brunet.Applications PrivateNodeConfig
Résultat PrivateNodeConfig

Security public_oe property

public SecurityPolicy Security
Résultat SecurityPolicy

XmlRpcManager public_oe property

Specifies XmlRpc configuration. This is optional and only required if XmlRpc is desired.
public Service XmlRpcManager
Résultat Service

XmppServices public_oe property

public XmppConfig XmppServices
Résultat XmppConfig