| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisidia.simulation.command.Command
visidia.simulation.command.ChangeEdgePropertyCommand
public class ChangeEdgePropertyCommand
The Class ChangeEdgePropertyCommand.
| Constructor Summary | |
|---|---|
| ChangeEdgePropertyCommand(int originId,
                          int destinationId,
                          VisidiaProperty property)Instantiates a new command to change a node property. | |
| Method Summary | |
|---|---|
|  void | deserialize(java.io.ObjectInputStream in)Deserialize. | 
|  void | executeAfterAck()Instructions to be executed after ack. | 
|  void | executeBeforeAck(VisidiaEvent event)Instructions to be executed before ack. | 
|  boolean | generateImmediateAck()Defines if an ack is to be generated immediately. | 
|  boolean | needSynchronization()Defines if command needs synchronization. | 
|  void | serialize(java.io.ObjectOutputStream out)Serialize. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ChangeEdgePropertyCommand(int originId,
                                 int destinationId,
                                 VisidiaProperty property)
originId - the origin iddestinationId - the destination idproperty - the property| Method Detail | 
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean needSynchronization()
Command
needSynchronization in class Commandpublic boolean generateImmediateAck()
Command
generateImmediateAck in class Commandpublic void executeBeforeAck(VisidiaEvent event)
Command
executeBeforeAck in class Commandevent - the event
public void executeAfterAck()
                     throws java.lang.InterruptedException
Command
executeAfterAck in class Commandjava.lang.InterruptedException - the interrupted exception
public void serialize(java.io.ObjectOutputStream out)
               throws java.io.IOException
Command
serialize in class Commandout - the output stream
java.io.IOException - Signals that an I/O exception has occurred.
public void deserialize(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Command
deserialize in class Commandin - the input stream
java.io.IOException - Signals that an I/O exception has occurred.
java.lang.ClassNotFoundException - the class not found exception| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||