Class ConsoleTracker
java.lang.Object
org.jgrapes.core.internal.ComponentVertex
org.jgrapes.core.Component
org.jdrupes.vmoperator.runner.qemu.VmDefUpdater
org.jdrupes.vmoperator.runner.qemu.ConsoleTracker
- All Implemented Interfaces:
- Iterable<ComponentType>,- Channel,- ComponentType,- Eligible,- Manager
A (sub)component that updates the console status in the CR status.
Created as child of StatusUpdater.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.jgrapes.core.ChannelChannel.Default
- 
Field SummaryFields inherited from class org.jdrupes.vmoperator.runner.qemu.VmDefUpdaterapiClient, namespace, vmName
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidOn spice disconnected.voidOn spice connected.voidHandle the start event.Methods inherited from class org.jdrupes.vmoperator.runner.qemu.VmDefUpdateronConfigurationUpdate, updateConditionMethods inherited from class org.jgrapes.core.Componentchannel, component, defaultCriterion, isEligibleFor, setNameMethods inherited from class org.jgrapes.core.internal.ComponentVertexactiveEventPipeline, addHandler, attach, channelReplacements, children, componentPath, componentVertex, detach, fire, initComponentsHandlers, iterator, name, newEventPipeline, newEventPipeline, parent, registerAsGenerator, root, toString, unregisterAsGeneratorMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
ConsoleTrackerInstantiates a new status updater.- Parameters:
- componentChannel- the component channel
 
 
- 
- 
Method Details- 
onStartHandle the start event.- Parameters:
- event- the event
- Throws:
- IOException
- io.kubernetes.client.openapi.ApiException
 
- 
onSpiceInitialized@Handler public void onSpiceInitialized(SpiceInitializedEvent event) throws io.kubernetes.client.openapi.ApiException On spice connected.- Parameters:
- event- the event
- Throws:
- io.kubernetes.client.openapi.ApiException- the api exception
 
- 
onSpiceDisconnected@Handler public void onSpiceDisconnected(SpiceDisconnectedEvent event) throws io.kubernetes.client.openapi.ApiException On spice disconnected.- Parameters:
- event- the event
- Throws:
- io.kubernetes.client.openapi.ApiException- the api exception
 
 
-