Ixian SDK
DLT.NetworkClientManager Class Reference

Static Public Member Functions

static void start ()
 
static bool startWithSingleConnection (string address)
 
static void stop ()
 
static void isolate ()
 
static void restartClients ()
 
static bool connectTo (string host, byte[] wallet_address)
 
static bool broadcastData (char[] types, ProtocolMessageCode code, byte[] data, byte[] helper_data, RemoteEndpoint skipEndpoint=null)
 
static bool sendToClient (string neighbor, ProtocolMessageCode code, byte[] data, byte[] helper_data)
 
static string [] getConnectedClients ()
 
static void recalculateLocalTimeDifference ()
 
static Peer scanForNeighbor ()
 
static int getQueuedMessageCount ()
 
static NetworkClient getClient (int idx)
 

Static Public Attributes

static List< NetworkClientnetworkClients = new List<NetworkClient>()
 

Detailed Description

Definition at line 11 of file NetworkClientManager.cs.

Member Function Documentation

◆ broadcastData()

static bool DLT.NetworkClientManager.broadcastData ( char []  types,
ProtocolMessageCode  code,
byte []  data,
byte []  helper_data,
RemoteEndpoint  skipEndpoint = null 
)
static

Definition at line 253 of file NetworkClientManager.cs.

◆ connectTo()

static bool DLT.NetworkClientManager.connectTo ( string  host,
byte []  wallet_address 
)
static

Definition at line 134 of file NetworkClientManager.cs.

◆ getClient()

static NetworkClient DLT.NetworkClientManager.getClient ( int  idx)
static

Definition at line 599 of file NetworkClientManager.cs.

◆ getConnectedClients()

static string [] DLT.NetworkClientManager.getConnectedClients ( )
static

Definition at line 317 of file NetworkClientManager.cs.

◆ getQueuedMessageCount()

static int DLT.NetworkClientManager.getQueuedMessageCount ( )
static

Definition at line 586 of file NetworkClientManager.cs.

◆ isolate()

static void DLT.NetworkClientManager.isolate ( )
static

Definition at line 106 of file NetworkClientManager.cs.

◆ recalculateLocalTimeDifference()

static void DLT.NetworkClientManager.recalculateLocalTimeDifference ( )
static

Definition at line 344 of file NetworkClientManager.cs.

◆ restartClients()

static void DLT.NetworkClientManager.restartClients ( )
static

Definition at line 124 of file NetworkClientManager.cs.

◆ scanForNeighbor()

static Peer DLT.NetworkClientManager.scanForNeighbor ( )
static

Definition at line 383 of file NetworkClientManager.cs.

◆ sendToClient()

static bool DLT.NetworkClientManager.sendToClient ( string  neighbor,
ProtocolMessageCode  code,
byte []  data,
byte []  helper_data 
)
static

Definition at line 292 of file NetworkClientManager.cs.

◆ start()

static void DLT.NetworkClientManager.start ( )
static

Definition at line 24 of file NetworkClientManager.cs.

◆ startWithSingleConnection()

static bool DLT.NetworkClientManager.startWithSingleConnection ( string  address)
static

Definition at line 70 of file NetworkClientManager.cs.

◆ stop()

static void DLT.NetworkClientManager.stop ( )
static

Definition at line 88 of file NetworkClientManager.cs.

Member Data Documentation

◆ networkClients

List<NetworkClient> DLT.NetworkClientManager.networkClients = new List<NetworkClient>()
static

Definition at line 13 of file NetworkClientManager.cs.


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