Package velox.api.layer1.layers
Interface Layer1ApiTimeSource
- All Known Implementing Classes:
Layer1ApiDepthFreezer,Layer1ApiInjectorRelay,Layer1ApiRelay,Layer1ApiStrategiesEchoMessagesLayer
public interface Layer1ApiTimeSource
Allows taking a shortcut when responding to
Layer1ApiAdminProvider.getCurrentTime(). See
Layer1ApiRelay.getTimeSource() to understand the mechanism. In short:
even if layer implemented Layer1ApiAdminProvider.getCurrentTime() it can
still allow a shortcut by implementing this interface.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic @interfaceMarkLayer1ApiAdminProvider.getCurrentTime()implementation with this to confirm you are supporting the shortcut -
Method Summary
Modifier and TypeMethodDescriptionstatic Layer1ApiProvidergetTimeSource(Layer1ApiProvider provider)
-
Method Details
-
getTimeSource
Layer1ApiProvider getTimeSource() -
getTimeSource
-