Class Endpoint

java.lang.Object
jline.lang.lal.Endpoint
All Implemented Interfaces:
Serializable

public final class Endpoint extends Object implements Serializable
A synchronization endpoint: the pair (agent name, action name), or, for an arrival injected into an embedded LINE model, the pair (embedded part name, NodeEvent key).
See Also:
  • Constructor Details

    • Endpoint

      public Endpoint(String agent, String action)
    • Endpoint

      public Endpoint(String agent, NodeEvent key)
      Endpoint naming a node action of the embedded part agent.
  • Method Details

    • getAgent

      public String getAgent()
    • getAction

      public String getAction()
      The action name, or the label of the node key for a node endpoint.
    • getNodeEvent

      public NodeEvent getNodeEvent()
      The node key of a node endpoint, else null.
    • isNodeEvent

      public boolean isNodeEvent()
      True for a node action of an embedded LINE model.
    • label

      public String label()
      The event label agent.action, or the node key label.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Python tuple representation, used verbatim in validation messages.
      Overrides:
      toString in class Object