Ejemplo n.º 1
0
 public LogReader()
 {
     db = DB.Open(GetFullPath(Settings.Default.Path), new Options {
         CreateIfMissing = true
     });
     RpcServerPlugin.RegisterMethods(this);
 }
Ejemplo n.º 2
0
 protected override void OnSystemLoaded(NeoSystem system)
 {
     if (system.Settings.Network != Settings.Default.Network)
     {
         return;
     }
     RpcServerPlugin.RegisterMethods(this, Settings.Default.Network);
 }
Ejemplo n.º 3
0
 protected override void OnSystemLoaded(NeoSystem system)
 {
     if (system.Settings.Magic != Settings.Default.Network)
     {
         return;
     }
     System = system;
     System.ServiceAdded += NeoSystem_ServiceAdded;
     RpcServerPlugin.RegisterMethods(this, Settings.Default.Network);
 }
Ejemplo n.º 4
0
        protected override void OnSystemLoaded(NeoSystem system)
        {
            if (system.Settings.Magic != _network)
            {
                return;
            }
            System = system;
            string path = string.Format(_dbPath, system.Settings.Magic.ToString("X8"));

            _db = DB.Open(GetFullPath(path), new Options {
                CreateIfMissing = true
            });
            RpcServerPlugin.RegisterMethods(this, _network);
        }
Ejemplo n.º 5
0
 public RpcNep5Tracker()
 {
     RpcServerPlugin.RegisterMethods(this);
 }
Ejemplo n.º 6
0
 public OracleService()
 {
     RpcServerPlugin.RegisterMethods(this);
 }