Package ptolemy.cg.lib
Class Profile.Junction
- java.lang.Object
-
- ptolemy.cg.lib.Profile.Junction
-
- Enclosing class:
- Profile
public static class Profile.Junction extends java.lang.Object
A profiled Junction.- Author:
- dai
-
-
Field Summary
Fields Modifier and Type Field Description int
numInitialTokens
The number of initial tokens.
-
Constructor Summary
Constructors Constructor Description Junction(java.lang.String putActor, java.lang.String putActorPort, java.lang.String getActor, java.lang.String getActorPort, int numTokens)
Construct a Junction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPutActorName()
Get the put actor name.
-
-
-
Constructor Detail
-
Junction
public Junction(java.lang.String putActor, java.lang.String putActorPort, java.lang.String getActor, java.lang.String getActorPort, int numTokens)
Construct a Junction.- Parameters:
putActor
- The actor to add to the junction.putActorPort
- The port of the put actor.getActor
- The get actor that is to be added to the junction.getActorPort
- The port of the get actor.numTokens
- The number of tokens.
-
-