SimpleNet v.2.0 API documentation
C G I L M N P R S 

C

clear_forwarding_entry(int) - Method in class simplenet.Router
removes a forwarding-table mapping.
clear_forwarding_table() - Method in class simplenet.Router
clears the forwarding-table completely.
copy() - Method in class simplenet.Message
creates a copy of the message.
current_time() - Method in class simplenet.Router
current time in the network.

G

get_arrival_interface() - Method in class simplenet.Message
interface through which the router receives this message.

I

initialize() - Method in class simplenet.Router
router initialization method.
interfaces() - Method in class simplenet.Router
number of interfaces of this router.

L

link_cost(int) - Method in class simplenet.Router
cost of the link connected to the i-th interface.

M

main(String[]) - Static method in class simplenet.Network
 
Message - Class in simplenet
a network message.
Message() - Constructor for class simplenet.Message
 
my_address() - Method in class simplenet.Router
address of this node.

N

Network - Class in simplenet
primary interface of the simulator.
Network() - Constructor for class simplenet.Network
 

P

print_debug(String) - Method in class simplenet.Router
prints a debugging message.
print_error(String) - Method in class simplenet.Router
prints an error message.
process_event(Event) - Method in class simplenet.Router
 
process_routing_message(RoutingMessage, int) - Method in class simplenet.Router
entry method for the routing protocol.

R

Router - Class in simplenet
base functionality of a network router.
Router() - Constructor for class simplenet.Router
 
RoutingMessage - Class in simplenet
a routing message.
RoutingMessage() - Constructor for class simplenet.RoutingMessage
 

S

send_message(Message, int) - Method in class simplenet.Router
send a message to the i-th interface (neighbor).
set_forwarding_entry(int, int) - Method in class simplenet.Router
defines a forwarding-table mapping.
simplenet - package simplenet
 
C G I L M N P R S 
Skip navigation links
SimpleNet v.2.0 API documentation

Copyright © 2005-2014 Antonio Carzaniga.