C# Класс Brunet.Applications.NodeConfig

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BrunetNamespace String
EdgeListeners EdgeListener[]
NCService NCServiceConfig
NodeAddress String
PrivateNodeConfig PrivateNodeConfig
Security SecurityPolicy
XmlRpcManager Service
XmppServices XmppConfig

Открытые методы

Метод Описание
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.

Описание методов

GetPrivateNodeConfig() публичный статический Метод

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
Результат NodeConfig

NodeConfig() публичный Метод

public NodeConfig ( ) : System
Результат System

ReadConfig() публичный статический Метод

Read a NodeConfig, if it fails, then let's find the problem.
public static ReadConfig ( string path ) : NodeConfig
path string
Результат NodeConfig

WriteConfig() публичный Метод

Writres the config to the file system.
public WriteConfig ( ) : bool
Результат bool

Описание свойств

BrunetNamespace публичное свойство

This is equivalent to Node.Realm, only Nodes in the same realm can communicate with each other. Required.
public String BrunetNamespace
Результат String

EdgeListeners публичное свойство

A list of local end points. At least one local end point is required.
public EdgeListener[] EdgeListeners
Результат EdgeListener[]

NCService публичное свойство

public NCServiceConfig NCService
Результат NCServiceConfig

NodeAddress публичное свойство

A stored Node.Address for later re-use. This will be generated by the application and should never be manually entered.
public String NodeAddress
Результат String

PrivateNodeConfig публичное свойство

public PrivateNodeConfig,Brunet.Applications PrivateNodeConfig
Результат PrivateNodeConfig

Security публичное свойство

public SecurityPolicy Security
Результат SecurityPolicy

XmlRpcManager публичное свойство

Specifies XmlRpc configuration. This is optional and only required if XmlRpc is desired.
public Service XmlRpcManager
Результат Service

XmppServices публичное свойство

public XmppConfig XmppServices
Результат XmppConfig