flowsim.core
Interface Service

All Known Subinterfaces:
DVRouter, Router, SLABuyer, SLASeller
All Known Implementing Classes:
RouterImpl, UserImpl

public abstract interface Service

Entity which receives messages on a specific port-number of a node. The Message object asks when it arrives on a Node the Service object at a port number and then converts this object to what it thinks it should be and calls the appropriate method.

See Also:
Message

Method Summary
 Node get_node()
          Get node on which this service resides.
 int get_port()
          Get port-number on which this service resides.
 

Method Detail

get_node

public Node get_node()
Get node on which this service resides.

get_port

public int get_port()
Get port-number on which this service resides.