Ixian SDK
IXICore.Network.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 (bool only_fully_connected=false)
 
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 10 of file NetworkClientManager.cs.

Member Function Documentation

◆ broadcastData()

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

Definition at line 255 of file NetworkClientManager.cs.

◆ connectTo()

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

Definition at line 133 of file NetworkClientManager.cs.

◆ getClient()

static NetworkClient IXICore.Network.NetworkClientManager.getClient ( int  idx)
static

Definition at line 609 of file NetworkClientManager.cs.

◆ getConnectedClients()

static string [] IXICore.Network.NetworkClientManager.getConnectedClients ( bool  only_fully_connected = false)
static

Definition at line 319 of file NetworkClientManager.cs.

◆ getQueuedMessageCount()

static int IXICore.Network.NetworkClientManager.getQueuedMessageCount ( )
static

Definition at line 596 of file NetworkClientManager.cs.

◆ isolate()

static void IXICore.Network.NetworkClientManager.isolate ( )
static

Definition at line 105 of file NetworkClientManager.cs.

◆ recalculateLocalTimeDifference()

static void IXICore.Network.NetworkClientManager.recalculateLocalTimeDifference ( )
static

Definition at line 351 of file NetworkClientManager.cs.

◆ restartClients()

static void IXICore.Network.NetworkClientManager.restartClients ( )
static

Definition at line 123 of file NetworkClientManager.cs.

◆ scanForNeighbor()

static Peer IXICore.Network.NetworkClientManager.scanForNeighbor ( )
static

Definition at line 390 of file NetworkClientManager.cs.

◆ sendToClient()

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

Definition at line 294 of file NetworkClientManager.cs.

◆ start()

static void IXICore.Network.NetworkClientManager.start ( )
static

Definition at line 23 of file NetworkClientManager.cs.

◆ startWithSingleConnection()

static bool IXICore.Network.NetworkClientManager.startWithSingleConnection ( string  address)
static

Definition at line 69 of file NetworkClientManager.cs.

◆ stop()

static void IXICore.Network.NetworkClientManager.stop ( )
static

Definition at line 87 of file NetworkClientManager.cs.

Member Data Documentation

◆ networkClients

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

Definition at line 12 of file NetworkClientManager.cs.


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