All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.firebus.FirebusAdmin Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
package io.firebus;

import io.firebus.information.NodeInformation;

public class FirebusAdmin extends Firebus
{
	public FirebusAdmin()
	{
		super();
	}
	
	public FirebusAdmin(int p)
	{
		super(p);
	}
	
	public FirebusAdmin(String network, String password)
	{
		super(network, password);
	}

	public FirebusAdmin(int p, String network, String password)
	{
		super(p, network, password);
	}

	public NodeInformation[] getNodeList()
	{
		int c = nodeCore.getDirectory().getNodeCount();
		NodeInformation[] ni = new NodeInformation[c];
		for(int i = 0; i < c; i++)
		{
			ni[i] = nodeCore.getDirectory().getNode(i);
		}
		return ni;
	}
		

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy