|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jdom.Content
org.jdom.Element
verinec.netsim.loggers.events.EventDetail
verinec.netsim.loggers.events.TCPEventStateChange
public class TCPEventStateChange
An Event that occurs when a the TCP FSM changes from one state to another.
| Field Summary | |
|---|---|
private static long |
serialVersionUID
|
| Fields inherited from class verinec.netsim.loggers.events.EventDetail |
|---|
dHeight, dWidth, dx, dy, endX, endY, label, ownerPCNode, startX, startY |
| Fields inherited from class org.jdom.Element |
|---|
additionalNamespaces, name, namespace |
| Fields inherited from class org.jdom.Content |
|---|
parent |
| Constructor Summary | |
|---|---|
TCPEventStateChange()
creates a TCP EventDetail |
|
TCPEventStateChange(String type)
Creates |
|
| Method Summary | |
|---|---|
Event |
createSimEvent(Model model,
ILogger logger)
creates a schedulable Simulation event from a Logevent |
String |
getEventType()
gets the event's new state |
void |
initializeLabel(DrawPanel drawpanel)
Initializes the label (the animated object) |
void |
setEventType(String type)
Sets the event's new state |
protected void |
subanimate(int time,
int substep,
int myPhase,
int totalPhase)
animates a substep of the whole animation |
| Methods inherited from class verinec.netsim.loggers.events.EventDetail |
|---|
animate, getType, initAnimation, isAnimationInitialized, setType, toString |
| Methods inherited from class org.jdom.Content |
|---|
detach, equals, getDocument, getParent, getParentElement, hashCode, setParent |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jdom.Parent |
|---|
getDocument, getParent |
| Field Detail |
|---|
private static final long serialVersionUID
| Constructor Detail |
|---|
public TCPEventStateChange(String type)
type - the new statepublic TCPEventStateChange()
| Method Detail |
|---|
public void setEventType(String type)
type - the event's new statepublic String getEventType()
public Event createSimEvent(Model model,
ILogger logger)
EventDetail
createSimEvent in class EventDetailmodel - a network modellogger - a log event
EventDetail.createSimEvent(Model,
ILogger)
public void initializeLabel(DrawPanel drawpanel)
throws NetSimException
EventDetail
initializeLabel in class EventDetaildrawpanel - the panel containing the label
NetSimException - if the label can't be set upEventDetail.initializeLabel(verinec.gui.core.DrawPanel)
protected void subanimate(int time,
int substep,
int myPhase,
int totalPhase)
EventDetail
subanimate in class EventDetailtime - actual timesubstep - the n'th substep that is animatedmyPhase - the phase length that is animated in this substeptotalPhase - the complete phase lengthEventDetail.subanimate(int, int, int, int)
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||