Ixian SDK
DLT.PresenceList Class Reference

Static Public Member Functions

static void generatePresenceList (string initial_ip, char type='M')
 
static bool containsIP (string ip, char type)
 
static Presence containsWalletAddress (byte[] wallet)
 
static Presence updateEntry (Presence presence, RemoteEndpoint skipEndpoint=null)
 
static bool removeAddressEntry (byte[] wallet_address, PresenceAddress address)
 
static byte [] getBytes ()
 
static bool syncFromBytes (byte[] bytes)
 
static bool verifyPresence (Presence presence)
 
static bool updateFromBytes (byte[] bytes)
 
static void startKeepAlive ()
 
static void stopKeepAlive ()
 
static bool receiveKeepAlive (byte[] bytes, out byte[] address)
 
static bool performCleanup ()
 
static long getTotalPresences ()
 
static void clear ()
 
static long countPresences (char type)
 
static Presence getPresenceByAddress (byte[] address)
 

Static Public Attributes

static List< Presencepresences = new List<Presence> { }
 
static PresenceAddress curNodePresenceAddress = null
 
static Presence curNodePresence = null
 
static ThreadLiveCheck TLC
 

Detailed Description

Definition at line 15 of file PresenceList.cs.

Member Function Documentation

◆ clear()

static void DLT.PresenceList.clear ( )
static

Definition at line 802 of file PresenceList.cs.

◆ containsIP()

static bool DLT.PresenceList.containsIP ( string  ip,
char  type 
)
static

Definition at line 42 of file PresenceList.cs.

◆ containsWalletAddress()

static Presence DLT.PresenceList.containsWalletAddress ( byte []  wallet)
static

Definition at line 64 of file PresenceList.cs.

◆ countPresences()

static long DLT.PresenceList.countPresences ( char  type)
static

Definition at line 810 of file PresenceList.cs.

◆ generatePresenceList()

static void DLT.PresenceList.generatePresenceList ( string  initial_ip,
char  type = 'M' 
)
static

Definition at line 31 of file PresenceList.cs.

◆ getBytes()

static byte [] DLT.PresenceList.getBytes ( )
static

Definition at line 273 of file PresenceList.cs.

◆ getPresenceByAddress()

static Presence DLT.PresenceList.getPresenceByAddress ( byte []  address)
static

Definition at line 822 of file PresenceList.cs.

◆ getTotalPresences()

static long DLT.PresenceList.getTotalPresences ( )
static

Definition at line 791 of file PresenceList.cs.

◆ performCleanup()

static bool DLT.PresenceList.performCleanup ( )
static

Definition at line 728 of file PresenceList.cs.

◆ receiveKeepAlive()

static bool DLT.PresenceList.receiveKeepAlive ( byte []  bytes,
out byte []  address 
)
static

Definition at line 548 of file PresenceList.cs.

◆ removeAddressEntry()

static bool DLT.PresenceList.removeAddressEntry ( byte []  wallet_address,
PresenceAddress  address 
)
static

Definition at line 184 of file PresenceList.cs.

◆ startKeepAlive()

static void DLT.PresenceList.startKeepAlive ( )
static

Definition at line 401 of file PresenceList.cs.

◆ stopKeepAlive()

static void DLT.PresenceList.stopKeepAlive ( )
static

Definition at line 411 of file PresenceList.cs.

◆ syncFromBytes()

static bool DLT.PresenceList.syncFromBytes ( byte []  bytes)
static

Definition at line 299 of file PresenceList.cs.

◆ updateEntry()

static Presence DLT.PresenceList.updateEntry ( Presence  presence,
RemoteEndpoint  skipEndpoint = null 
)
static

Definition at line 83 of file PresenceList.cs.

◆ updateFromBytes()

static bool DLT.PresenceList.updateFromBytes ( byte []  bytes)
static

Definition at line 387 of file PresenceList.cs.

◆ verifyPresence()

static bool DLT.PresenceList.verifyPresence ( Presence  presence)
static

Definition at line 352 of file PresenceList.cs.

Member Data Documentation

◆ curNodePresence

Presence DLT.PresenceList.curNodePresence = null
static

Definition at line 20 of file PresenceList.cs.

◆ curNodePresenceAddress

PresenceAddress DLT.PresenceList.curNodePresenceAddress = null
static

Definition at line 19 of file PresenceList.cs.

◆ presences

List<Presence> DLT.PresenceList.presences = new List<Presence> { }
static

Definition at line 17 of file PresenceList.cs.

◆ TLC

ThreadLiveCheck DLT.PresenceList.TLC
static

Definition at line 27 of file PresenceList.cs.


The documentation for this class was generated from the following file: