Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
ArchitectureComponent
Knoten
NodeRIP
public class NodeRIP
extends Knoten
Knoten
, RIPRoutingTable
, PeriodicSenderRIP
, PeriodicUpdateSender
, NetworkRIP
, LinkRIP
Field Summary | |
private RIPRoutingTable | |
private PeriodicSenderRIP | |
private boolean | |
private boolean | |
private PeriodicUpdateSender |
Fields inherited from class .Knoten | |
NODE_IMAGE , attachedLinks , attachedLinksGuard , fontMetrics , initialized , nodeImage , textHeight , tracker |
Fields inherited from class .ArchitectureComponent | |
DEBUG , absXPos , absYPos , finished , gc , height , id , initialized , marked , net , paintRequested , sizeChangeLock , t , text , wakeUpable , width , xpos , ypos |
Constructor Summary | |
|
Method Summary | |
void | |
void | |
void |
|
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void | |
void | |
void |
|
void | |
void | |
void | |
void |
|
Methods inherited from class .ArchitectureComponent | |
acquireLocks , atLocation , finishUp , finished , getHeight , getID , getNet , getPositionX , getPositionY , getWidth , imageUpdate , mark , paint , paintRequest , releaseLocks , resume , run , setHeight , setPosition , setWidth , suspend , unmark , wakeUp |
public NodeRIP(int id, NetworkRIP net, Graphics gc, int xpos, int ypos, int width, int height)
public void finishUp()
Beendet den eigenen Thread und gibt Resourcen frei
- Overrides:
- finishUp in interface ArchitectureComponent
public void inspectTable()
public void resume()
Weckt die zuvor mit suspend() schlafengelegten Thread wieder auf
- Overrides:
- resume in interface ArchitectureComponent
- See Also:
suspend()
public void sendDataPackets(int to)
public void sendUpdatePackets()
public void startSending(int to)
public void startUpdateSender()
public void stopSending()
public void stopUpdateSender()
public void suspend()
Legt den objekteigenen Thread und den eventuell existierenden Sender schlafen
- Overrides:
- suspend in interface ArchitectureComponent
- See Also:
resume()