public class GemEquipment
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addMessageHandler(java.lang.Object messageHandler)
Add an additional message hanlder.
|
static void |
destroyGemEquipment(java.lang.String equipmentName)
Remove the named equipment from the available equipment list.
|
CommunicationsHandler |
getCommunicationsHandler()
This returns the Communication Handler.
|
EquipmentControlInterface |
getEquipment()
This returns the Equipment Control.
|
GemEquipmentInterface |
getGemEquipment()
This returns the GemEquipment.
|
static GemEquipmentInterface |
getGemEquipment(java.lang.String equipmentName)
Return the GemEquipment for the name provided.
|
static GemEquipment |
getGemEquipmentFor(java.lang.String equipmentName)
Return the GemEquipment for the name provided.
|
OnlineHandler |
getOnlineHandler()
This returns the Online Handler.
|
java.lang.String |
getPersistenceFileName() |
WrapperInterface |
getWrapper()
This returns the wrapper.
|
EquipmentControlInterface |
registerWrapperForEquipmentControl(WrapperInterface wrapper)
If you register with this method, the you will have access to the GemEquipment
or the equipment control (both the same object).
|
static void |
removeGemEquipment(java.lang.String equipmentName)
Remove the named equipment from the available equipment list.
|
void |
removeMessageHandler(java.lang.Object messageHandler)
Remove an additional message hanlder.
|
boolean |
restoreModel()
Restore the GEM model from the Persistence File.
|
void |
saveModel()
Save the GEM model to the Persistence File.
|
void |
setCommunicationsHandlerFactoryClass(java.lang.Class<? extends CommunicationsHandler> communicationsHandlerFactory)
Set a subclass of the CommunicationsHandler as the factory class for
communications control.
|
void |
setEquipmentControlFactoryClass(java.lang.Class<? extends ECHandler> equipmentFactory)
Set an instance of the EquipmentControlInterface as the factory class for
equipment control.
|
void |
setInitialStates(int initialCommunicationsState,
int initialOnlineState)
Set initial states.
|
void |
setOnlineHandlerFactoryClass(java.lang.Class<? extends OnlineHandler> onlineHandlerFactory)
Set a subclass of the OnlineHandler as the factory class for
online/offline control.
|
void |
setPersistenceFileName(java.lang.String persistenceFileName) |
public void addMessageHandler(java.lang.Object messageHandler)
messageHandler
- a message handler for E39, E40, E87, etc.public static void destroyGemEquipment(java.lang.String equipmentName)
public CommunicationsHandler getCommunicationsHandler()
public EquipmentControlInterface getEquipment()
public GemEquipmentInterface getGemEquipment()
public static GemEquipmentInterface getGemEquipment(java.lang.String equipmentName)
public static GemEquipment getGemEquipmentFor(java.lang.String equipmentName)
public OnlineHandler getOnlineHandler()
public java.lang.String getPersistenceFileName()
public WrapperInterface getWrapper()
public EquipmentControlInterface registerWrapperForEquipmentControl(WrapperInterface wrapper)
public static void removeGemEquipment(java.lang.String equipmentName)
public void removeMessageHandler(java.lang.Object messageHandler)
messageHandler
- a message handler for E39, E40, E87, etc.public boolean restoreModel()
public void saveModel()
public void setCommunicationsHandlerFactoryClass(java.lang.Class<? extends CommunicationsHandler> communicationsHandlerFactory)
CommunicationsHandler
public void setEquipmentControlFactoryClass(java.lang.Class<? extends ECHandler> equipmentFactory)
ECHandler
public void setInitialStates(int initialCommunicationsState, int initialOnlineState)
SessionManager
,
CommunicationsHandler
,
OnlineHandler
public void setOnlineHandlerFactoryClass(java.lang.Class<? extends OnlineHandler> onlineHandlerFactory)
OnlineHandler
public void setPersistenceFileName(java.lang.String persistenceFileName)
persistenceFileName
- The persistenceFileName to set.Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.