C# 클래스 Brunet.Applications.NodeConfig

파일 보기 프로젝트 열기: pstjuste/brunet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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