Interface CentralSection<To extends Enum<To>,From extends Enum<From>>

All Known Subinterfaces:
Section<To,From>
All Known Implementing Classes:
MaintainerCallSection, SignalHeadSection, TrackCircuitSection, TurnoutSection, TurnoutSection.TurnoutCentralSection

public interface CentralSection<To extends Enum<To>,From extends Enum<From>>
A Section is the base type for the pieces that make up and are referenced by a Station.

The type argument defines the communications from central to field and from field to central

  • Method Summary

    Modifier and Type
    Method
    Description
    Inform central CTC machine part of section that a code-send operation (from central to field) has started and obtain the value to be sent over the line.
    void
    Provides the code sequence to the central CTC machine at the end of the indication-send operation.
  • Method Details

    • codeSendStart

      Inform central CTC machine part of section that a code-send operation (from central to field) has started and obtain the value to be sent over the line.
      Returns:
      The value to be conveyed to the field.
    • indicationComplete

      void indicationComplete(From value)
      Provides the code sequence to the central CTC machine at the end of the indication-send operation.
      Parameters:
      value - to be conveyed.