Class ProcessModelState.InterProcessConnection

java.lang.Object
neqsim.process.processmodel.lifecycle.ProcessModelState.InterProcessConnection
All Implemented Interfaces:
Serializable
Enclosing class:
ProcessModelState

public static class ProcessModelState.InterProcessConnection extends Object implements Serializable
Represents a connection between two ProcessSystems.
Version:
1.0
Author:
ESOL
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • sourceProcess

      private String sourceProcess
    • streamName

      private String streamName
    • targetProcess

      private String targetProcess
    • targetPort

      private String targetPort
  • Constructor Details

    • InterProcessConnection

      public InterProcessConnection()
      Default constructor.
    • InterProcessConnection

      public InterProcessConnection(String sourceProcess, String streamName, String targetProcess, String targetPort)
      Creates an inter-process connection.
      Parameters:
      sourceProcess - name of the source ProcessSystem
      streamName - name of the connecting stream
      targetProcess - name of the target ProcessSystem
      targetPort - port on the target equipment
  • Method Details

    • getSourceProcess

      public String getSourceProcess()
      Gets source process name.
      Returns:
      the source process name
    • setSourceProcess

      public void setSourceProcess(String sourceProcess)
      Sets source process name.
      Parameters:
      sourceProcess - the source process name
    • getStreamName

      public String getStreamName()
      Gets stream name.
      Returns:
      the stream name
    • setStreamName

      public void setStreamName(String streamName)
      Sets the stream name. Also available as setSourceStream(String).
      Parameters:
      streamName - the stream name
    • setSourceStream

      public void setSourceStream(String streamName)
      Sets the source stream name. Alias for setStreamName(String).
      Parameters:
      streamName - the source stream name
    • getTargetProcess

      public String getTargetProcess()
      Gets target process name.
      Returns:
      the target process name
    • setTargetProcess

      public void setTargetProcess(String targetProcess)
      Sets target process name.
      Parameters:
      targetProcess - the target process name
    • getTargetPort

      public String getTargetPort()
      Gets target port.
      Returns:
      the target port
    • setTargetPort

      public void setTargetPort(String targetPort)
      Sets target port. Also available as setTargetStream(String).
      Parameters:
      targetPort - the target port
    • setTargetStream

      public void setTargetStream(String targetStream)
      Sets target stream name. Alias for setTargetPort(String).
      Parameters:
      targetStream - the target stream name
    • toString

      public String toString()
      Overrides:
      toString in class Object