Index

A D E G H M N P R T 
All Classes|All Packages

A

addNode(Node) - Method in class ntnu.idatt2104.madlads.nodeServerAPI.model.NodeList
Checks if a node already exists and adds it if it doesn't

D

deleteAllNodes() - Method in class ntnu.idatt2104.madlads.nodeServerAPI.controller.NodeAPI
 
deleteNode(ObjectNode) - Method in class ntnu.idatt2104.madlads.nodeServerAPI.controller.NodeAPI
Method for removing a node from the list

E

equals(Object) - Method in class ntnu.idatt2104.madlads.nodeServerAPI.model.Node
Equals method

G

getAddress() - Method in class ntnu.idatt2104.madlads.nodeServerAPI.model.Node
Return address(ip)
getAllNodes() - Method in class ntnu.idatt2104.madlads.nodeServerAPI.controller.NodeAPI
Method for returning all nodes as a JSON object Loops through the entire list of all nodes and adds their information to a Json object and then adds that to a JSOn array
getListOfAllNodes() - Method in class ntnu.idatt2104.madlads.nodeServerAPI.model.NodeList
Returns all nodes as an ArrayList
getPort() - Method in class ntnu.idatt2104.madlads.nodeServerAPI.model.Node
Returns port number

H

hashCode() - Method in class ntnu.idatt2104.madlads.nodeServerAPI.model.Node
 

M

main(String[]) - Static method in class ntnu.idatt2104.madlads.nodeServerAPI.NodeServerApiApplication
 

N

Node - Class in ntnu.idatt2104.madlads.nodeServerAPI.model
 
Node(int, String) - Constructor for class ntnu.idatt2104.madlads.nodeServerAPI.model.Node
Constructor
Node(String) - Constructor for class ntnu.idatt2104.madlads.nodeServerAPI.model.Node
Constructor that automatically parses a payload
NodeAPI - Class in ntnu.idatt2104.madlads.nodeServerAPI.controller
 
NodeAPI() - Constructor for class ntnu.idatt2104.madlads.nodeServerAPI.controller.NodeAPI
 
NodeList - Class in ntnu.idatt2104.madlads.nodeServerAPI.model
 
NodeList() - Constructor for class ntnu.idatt2104.madlads.nodeServerAPI.model.NodeList
Constructor
NodeServerApiApplication - Class in ntnu.idatt2104.madlads.nodeServerAPI
 
NodeServerApiApplication() - Constructor for class ntnu.idatt2104.madlads.nodeServerAPI.NodeServerApiApplication
 
ntnu.idatt2104.madlads.nodeServerAPI - package ntnu.idatt2104.madlads.nodeServerAPI
 
ntnu.idatt2104.madlads.nodeServerAPI.controller - package ntnu.idatt2104.madlads.nodeServerAPI.controller
 
ntnu.idatt2104.madlads.nodeServerAPI.model - package ntnu.idatt2104.madlads.nodeServerAPI.model
 

P

putNode(ObjectNode) - Method in class ntnu.idatt2104.madlads.nodeServerAPI.controller.NodeAPI
Method for adding a node to the list of all node

R

removeAllNodes() - Method in class ntnu.idatt2104.madlads.nodeServerAPI.model.NodeList
 
removeNode(Node) - Method in class ntnu.idatt2104.madlads.nodeServerAPI.model.NodeList
Checks if node exists and removes it if it does

T

toString() - Method in class ntnu.idatt2104.madlads.nodeServerAPI.model.Node
To string method of this object
A D E G H M N P R T 
All Classes|All Packages