Package jmri.jmrit.ussctc
Interface CentralSection<To extends java.lang.Enum<To>,From extends java.lang.Enum<From>>
-
- All Known Subinterfaces:
Section<To,From>
- All Known Implementing Classes:
MaintainerCallSection
,SignalHeadSection
,TrackCircuitSection
,TurnoutSection
,TurnoutSection.TurnoutCentralSection
public interface CentralSection<To extends java.lang.Enum<To>,From extends java.lang.Enum<From>>
A Section is the base type for the pieces that make up and are referenced by aStation
.The type argument defines the communications from central to field and from field to central
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description To
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.void
indicationComplete(From value)
Provides the code sequence to the central CTC machine at the end of the indication-send operation.
-
-
-
Method Detail
-
codeSendStart
To 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.
-
-