Schnittstelle ICommunicationChannel

Alle Superschnittstellen:
IALPSModelElement, IALPSSIDComponent, IContainableElement<IModelLayer>, IHasSimple2DVisualizationLine, IInteractionDescribingComponent, IPASSProcessModelElement, IValueChangedObserver<IPASSProcessModelElement>, IValueChangedPublisher<IPASSProcessModelElement>
Alle bekannten Implementierungsklassen:
CommunicationChannel

public interface ICommunicationChannel extends IALPSSIDComponent, IHasSimple2DVisualizationLine
An interface for abstract communication channels. This also represents Uni- and BiDirectionalCommunicationChannels The direction can be set using the setIsUniDirectional(boolean) Method.
  • Methodendetails

    • setCorrespondents

      void setCorrespondents(ISubject correspondentA, ISubject correspondentB, int removeCascadeDepth)
    • setCorrespondents

      void setCorrespondents(ISubject correspondentA, ISubject correspondentB)
    • setCorrespondentA

      void setCorrespondentA(ISubject correspondentA, int removeCascadeDepth)
    • setCorrespondentA

      void setCorrespondentA(ISubject correspondentA)
    • setCorrespondentB

      void setCorrespondentB(ISubject correspondentB, int removeCascadeDepth)
    • setCorrespondentB

      void setCorrespondentB(ISubject correspondentB)
    • getCorrespondentA

      ISubject getCorrespondentA()
    • getCorrespondentB

      ISubject getCorrespondentB()
    • getCorrespondents

      org.apache.commons.lang3.tuple.Pair<ISubject,ISubject> getCorrespondents()
    • setIsUniDirectional

      void setIsUniDirectional(boolean isUniDirectional)
      Sets the direction of the channel. This might be either Uni- or BiDirectional. In case of a UniDirectional, the CorrespondentA should be assumed as the Sender, and Correspondent should be assumed as the Receiver.
      Parameter:
      isUniDirectional - If true, this channel acts as UniDirectionalCommunicationChannel. If false, this channel acts as BiDirectionalCommunicationChannel.
    • isUniDirectional

      boolean isUniDirectional()
      Returns whether this channel is a Bi- or UniDirectionalCommunicationChannel.
      Gibt zurück:
      If true, the channel is UniDirectional, assuming the CorrespondentA as the Sender and CorrespondentB as Receiver. If false, the channel is BiDirectional