guarana.framework.port
Class ResponderPort

java.lang.Object
  extended by guarana.util.observer.smart.SmartObservable
      extended by guarana.framework.port.Port
          extended by guarana.framework.port.TwoWayPort
              extended by guarana.framework.port.ResponderPort
All Implemented Interfaces:
ISource, ITaskContainer, guarana.util.observer.smart.ISmartObserver

public class ResponderPort
extends TwoWayPort

Used to respond for request messages received from applications.

Graphical notation:


Since:
Guaranį SDK 1.0.0
Author:
Rafael Z. Frantz

Constructor Summary
ResponderPort(String name)
          Constructs a new responder port with the given name.
ResponderPort(String name, Process process)
          Constructs a responder port with the given name and associates it with the given process.
 
Method Summary
 
Methods inherited from class guarana.framework.port.TwoWayPort
getInterSlotIn, getInterSlotOut, setInterSlotIn, setInterSlotOut
 
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

ResponderPort

public ResponderPort(String name)
Constructs a new responder port with the given name.

Parameters:
name - The name of this new port.

ResponderPort

public ResponderPort(String name,
                     Process process)
Constructs a responder port with the given name and associates it with the given process.

Parameters:
name - The name of the responder port.
process - The process to which the port will belong.


Guaranį DSL Home