uk.ac.man.cs.rainbow.simulator.rasm
Class Write

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.simulator.Instruction
        |
        +--uk.ac.man.cs.rainbow.simulator.Instruction.MACRO
              |
              +--uk.ac.man.cs.rainbow.simulator.rasm.Write
All Implemented Interfaces:
Serializable

public class Write
extends Instruction.MACRO

A complete write to a channel.

Writes value value on output channel chanId, sending a request on that channel and receiving an acknowledgement of that request. The simplest way to implement the writing part of the chanId!expression command in Yellow. This instruction is simulated by a call to __MACROS__::write

value chanId -

See Also:
Put, SignalForward, WaitRelease, PutForward, Read, Serialized Form

Inner classes inherited from class uk.ac.man.cs.rainbow.simulator.Instruction
Instruction.MACRO
 
Constructor Summary
Write()
           
Write(RASMCode code)
           
 
Method Summary
protected  void definition(RASMCode code)
           
 String toString()
           
 
Methods inherited from class uk.ac.man.cs.rainbow.simulator.Instruction.MACRO
addSequence, execute, location
 
Methods inherited from class uk.ac.man.cs.rainbow.simulator.Instruction
addClass, getInstruction, getInstruction, getInstruction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Write

public Write()

Write

public Write(RASMCode code)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

definition

protected void definition(RASMCode code)
Overrides:
definition in class Instruction.MACRO