mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-11-25 01:16:22 -05:00
Initial RRC protocol support and Channels functionality
This commit is contained in:
parent
19e5563060
commit
e17d9a8cea
7 changed files with 3084 additions and 3 deletions
|
|
@ -41,6 +41,13 @@ class NomadNetworkApp:
|
|||
RNS.log("Saving directory...", RNS.LOG_VERBOSE)
|
||||
self.directory.save_to_disk()
|
||||
|
||||
if hasattr(self, "rrc") and self.rrc is not None:
|
||||
try:
|
||||
self.rrc.save()
|
||||
self.rrc.shutdown()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
if hasattr(self.ui, "restore_ixon"):
|
||||
if self.ui.restore_ixon:
|
||||
try:
|
||||
|
|
@ -301,6 +308,10 @@ class NomadNetworkApp:
|
|||
|
||||
self.directory = nomadnet.Directory(self)
|
||||
|
||||
from nomadnet.RRC import RRCManager
|
||||
self.rrc = RRCManager(self)
|
||||
self.rrc.load()
|
||||
|
||||
static_peers = []
|
||||
for static_peer in self.static_peers:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue