The class configuration for BasicNode. brunet1/config/ has some sample xml versions.
Below is a complete generic NodeConfig: GenericRealm brunet.udp://71.122.33.252:12342 brunet.udp://64.92.171.16:45322 12333 eth0 Local Area Network 1 true 23322 ...
示例#1
0
 public NodeConfig() {
   EdgeListeners = new EdgeListener[0];
   RemoteTAs = new String[0];
   DevicesToBind = new String[0];
   XmlRpcManager = new Service();
   NCService = new NCServiceConfig();
   Security = new SecurityPolicy();
   PrivateNodeConfig = new PrivateNodeConfig();
   BrunetNamespace = String.Empty;
   XmppServices = new XmppConfig();
 }
示例#2
0
 public NodeConfig()
 {
     EdgeListeners     = new EdgeListener[0];
     RemoteTAs         = new String[0];
     DevicesToBind     = new String[0];
     XmlRpcManager     = new Service();
     NCService         = new NCServiceConfig();
     Security          = new SecurityPolicy();
     PrivateNodeConfig = new PrivateNodeConfig();
     BrunetNamespace   = String.Empty;
     XmppServices      = new XmppConfig();
 }