public class AFDXVlink
extends java.lang.Object
Constructor and Description |
---|
AFDXVlink(Receiver source)
Create a new virtual link object and initialize parameters.
|
AFDXVlink(java.lang.String nm,
java.lang.Double b,
int ts,
java.lang.String sched,
Actor src)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getBag()
Get the value of the bag.
|
int |
getFrameSize()
Get the frame size.
|
java.lang.String |
getName()
Get the name of the virtual link object.
|
java.lang.String |
getSchedulerMux()
Get the name of the scheduler multiplexor.
|
Actor |
getSource()
Get the source actor.
|
void |
setBag(java.lang.Double bag)
Set the value of the bag.
|
void |
setFrameSize(int size)
Set the frame size.
|
void |
setName(java.lang.String name)
Set the name of the virtual link object.
|
void |
setSchedulerMux(java.lang.String name)
Set the name of the scheduler multiplexor.
|
void |
setSource(Actor source)
Set the source actor.
|
java.lang.String |
toString()
Return a string representation of this object.
|
public AFDXVlink(Receiver source) throws IllegalActionException
source
- The source receiver.IllegalActionException
- If parameters cannot be initialized.public AFDXVlink(java.lang.String nm, java.lang.Double b, int ts, java.lang.String sched, Actor src)
nm
- The name of the virtual-link.b
- The value of the bag.ts
- The size of the frame.sched
- The name of the virtual-link scheduler.src
- The initial actor connected to the virtual-link.public java.lang.String getName()
setName(String)
public void setName(java.lang.String name)
name
- The name.getName()
public java.lang.Double getBag()
setBag(Double)
public void setBag(java.lang.Double bag)
bag
- The value.getBag()
public int getFrameSize()
setFrameSize(int)
public void setFrameSize(int size)
size
- The size.getFrameSize()
public Actor getSource()
setSource(Actor)
public void setSource(Actor source)
source
- The actor.getSource()
public java.lang.String getSchedulerMux()
setSchedulerMux(String)
public void setSchedulerMux(java.lang.String name)
name
- The name.getSchedulerMux()
public java.lang.String toString()
toString
in class java.lang.Object