public class KitchenServiceImpl extends AbstractMXBean implements KitchenService, KitchenServiceRuntimeMXBean, ToasterListener
BASE_JMX_PREFIX
Constructor and Description |
---|
KitchenServiceImpl(ToasterService toaster) |
Modifier and Type | Method and Description |
---|---|
Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> |
makeBreakfast(EggsType eggsType,
Class<? extends ToastType> toastType,
int toastDoneness) |
Boolean |
makeScrambledWithWheat() |
void |
onToasterOutOfBread(ToasterOutOfBread notification)
Implemented from the ToasterListener interface.
|
void |
onToasterRestocked(ToasterRestocked notification)
Implemented from the ToasterListener interface.
|
getMBeanCategory, getMBeanName, getMBeanType, register, registerMBean, unregister, unregisterMBean
public KitchenServiceImpl(ToasterService toaster)
public Future<org.opendaylight.yangtools.yang.common.RpcResult<Void>> makeBreakfast(EggsType eggsType, Class<? extends ToastType> toastType, int toastDoneness)
makeBreakfast
in interface KitchenService
public Boolean makeScrambledWithWheat()
makeScrambledWithWheat
in interface KitchenServiceRuntimeMXBean
public void onToasterOutOfBread(ToasterOutOfBread notification)
onToasterOutOfBread
in interface ToasterListener
public void onToasterRestocked(ToasterRestocked notification)
onToasterRestocked
in interface ToasterListener
Copyright © 2019 OpenDaylight. All rights reserved.