|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object example.hot.InetCoordinates
public class InetCoordinates
This class does nothing. It is simply a container inside each node to collect peer coordinates.
The actual "who knows whom" relation (the topology) container is decoupled
from the HOT package. It is maintained by any Linkable
implementing
protocol declared in the config file.
Constructor Summary | |
---|---|
InetCoordinates(java.lang.String prefix)
Standard constructor that reads the configuration parameters. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a clone of the protocol. |
double |
getX()
|
double |
getY()
|
void |
setX(double x)
|
void |
setY(double y)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InetCoordinates(java.lang.String prefix)
InetInitializer
class provides a coordinates
initialization.
prefix
- the configuration prefix for this class.Method Detail |
---|
public java.lang.Object clone()
Protocol
Control
s.
clone
in interface Protocol
clone
in class java.lang.Object
public double getX()
public void setX(double x)
public double getY()
public void setY(double y)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |