Ixian SDK
IXICore.PresenceList Class Reference

Static Public Member Functions

static void init (string initial_ip, int port, char type)
 
static bool containsIP (string ip, char type)
 
static Presence updateEntry (Presence presence, bool return_presence_only_if_updated=false)
 
static bool removeAddressEntry (byte[] wallet_address, PresenceAddress address)
 
static byte [] getBytes ()
 
static bool syncFromBytes (byte[] bytes)
 
static bool verifyPresence (Presence presence)
 
static Presence updateFromBytes (byte[] bytes)
 
static void startKeepAlive ()
 
static void stopKeepAlive ()
 
static bool receiveKeepAlive (byte[] bytes, out byte[] address, RemoteEndpoint endpoint)
 
static bool performCleanup ()
 
static long getTotalPresences ()
 
static void clear ()
 
static long countPresences (char type)
 
static Presence getPresenceByAddress (byte[] address_or_pubkey)
 
static Presence getPresenceByDeviceId (string device_id)
 
static List< PresencegetPresencesByType (char type)
 
static List< PresencegetPresences ()
 
static PresenceOrderedEnumerator getElectedSignerList (byte[] rnd_bytes, int target_count)
 

Static Public Attributes

static ThreadLiveCheck TLC
 
static bool forceSendKeepAlive = false
 

Properties

static string myPublicAddress [get, set]
 
static char myPresenceType [get, set]
 

Detailed Description

Definition at line 12 of file PresenceList.cs.

Member Function Documentation

◆ clear()

static void IXICore.PresenceList.clear ( )
static

Definition at line 830 of file PresenceList.cs.

◆ containsIP()

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

Definition at line 47 of file PresenceList.cs.

◆ countPresences()

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

Definition at line 839 of file PresenceList.cs.

◆ getBytes()

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

Definition at line 289 of file PresenceList.cs.

◆ getElectedSignerList()

static PresenceOrderedEnumerator IXICore.PresenceList.getElectedSignerList ( byte []  rnd_bytes,
int  target_count 
)
static

Definition at line 891 of file PresenceList.cs.

◆ getPresenceByAddress()

static Presence IXICore.PresenceList.getPresenceByAddress ( byte []  address_or_pubkey)
static

Definition at line 851 of file PresenceList.cs.

◆ getPresenceByDeviceId()

static Presence IXICore.PresenceList.getPresenceByDeviceId ( string  device_id)
static

Definition at line 864 of file PresenceList.cs.

◆ getPresences()

static List<Presence> IXICore.PresenceList.getPresences ( )
static

Definition at line 886 of file PresenceList.cs.

◆ getPresencesByType()

static List<Presence> IXICore.PresenceList.getPresencesByType ( char  type)
static

Definition at line 877 of file PresenceList.cs.

◆ getTotalPresences()

static long IXICore.PresenceList.getTotalPresences ( )
static

Definition at line 819 of file PresenceList.cs.

◆ init()

static void IXICore.PresenceList.init ( string  initial_ip,
int  port,
char  type 
)
static

Definition at line 33 of file PresenceList.cs.

◆ performCleanup()

static bool IXICore.PresenceList.performCleanup ( )
static

Definition at line 747 of file PresenceList.cs.

◆ receiveKeepAlive()

static bool IXICore.PresenceList.receiveKeepAlive ( byte []  bytes,
out byte []  address,
RemoteEndpoint  endpoint 
)
static

Definition at line 562 of file PresenceList.cs.

◆ removeAddressEntry()

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

Definition at line 197 of file PresenceList.cs.

◆ startKeepAlive()

static void IXICore.PresenceList.startKeepAlive ( )
static

Definition at line 431 of file PresenceList.cs.

◆ stopKeepAlive()

static void IXICore.PresenceList.stopKeepAlive ( )
static

Definition at line 441 of file PresenceList.cs.

◆ syncFromBytes()

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

Definition at line 318 of file PresenceList.cs.

◆ updateEntry()

static Presence IXICore.PresenceList.updateEntry ( Presence  presence,
bool  return_presence_only_if_updated = false 
)
static

Definition at line 69 of file PresenceList.cs.

◆ updateFromBytes()

static Presence IXICore.PresenceList.updateFromBytes ( byte []  bytes)
static

Definition at line 418 of file PresenceList.cs.

◆ verifyPresence()

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

Definition at line 368 of file PresenceList.cs.

Member Data Documentation

◆ forceSendKeepAlive

bool IXICore.PresenceList.forceSendKeepAlive = false
static

Definition at line 26 of file PresenceList.cs.

◆ TLC

ThreadLiveCheck IXICore.PresenceList.TLC
static

Definition at line 24 of file PresenceList.cs.

Property Documentation

◆ myPresenceType

char IXICore.PresenceList.myPresenceType
staticgetset

Definition at line 916 of file PresenceList.cs.

◆ myPublicAddress

string IXICore.PresenceList.myPublicAddress
staticgetset

Definition at line 903 of file PresenceList.cs.


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