|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectguarana.util.observer.smart.SmartObservable
guarana.framework.port.Port
guarana.framework.port.OneWayPort
public abstract class OneWayPort
A generic communication port to receive or send messages.
Constructor Summary | |
---|---|
OneWayPort(String name)
Constructs a new one way port with the given name. |
|
OneWayPort(String name,
Process process)
Constructs a new one way port with the given name and associates it with the given process. |
Method Summary | |
---|---|
Slot |
getInterSlot()
Returns the interslot in this port. |
void |
setInterSlot(Slot interSlot)
Sets the interslot to this port. |
Methods inherited from class guarana.framework.port.Port |
---|
addPreScheduledTask, addTask, containsPreScheduledTasks, containsTask, countTask, getAllTasks, getCommunicator, getName, getProcess, getTask, initialise, pollPreScheduledTasks, removeTask, setCommunicator, setName, setProcess, update |
Methods inherited from class guarana.util.observer.smart.SmartObservable |
---|
addSmartObserver, containsSmartObserver, containsSmartObserver, countSmartObservers, deleteSmartObserver, deleteSmartObservers, hasChanged, notifySmartObservers, notifySmartObservers |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OneWayPort(String name)
name
- The name of this new port.public OneWayPort(String name, Process process)
name
- The name of this new port.process
- The process to which this port will belong.Method Detail |
---|
public void setInterSlot(Slot interSlot) throws InvalidParameterException
interSlot
- The interSlot.
InvalidParameterException
- if the interSlot parameter is null
.public Slot getInterSlot()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |