public class KKRMIEngBase
extends java.lang.Object
| Constructor and Description |
|---|
KKRMIEngBase(EngineConfigIf engConfig)
Constructor with an EngineConfig object.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getCodeFromException(java.lang.Throwable cause)
Return the exception code on the Exception
|
EngineConfigIf |
getEngConf() |
KKRMIEngServerIf |
getRmiEngine() |
java.lang.String |
getRmiHost() |
int |
getRmiPort() |
java.lang.String |
getStoreId() |
protected com.konakart.app.KKException |
handleThrowable(java.lang.Throwable e,
java.lang.String methodName)
Handles the exception for all methods.
|
void |
init() |
boolean |
isSuccessfullyInitialised() |
void |
setEngConf(EngineConfigIf engConf) |
void |
setRmiEngine(KKRMIEngServerIf rmiEngine) |
void |
setRmiHost(java.lang.String rmiHost) |
void |
setRmiPort(int rmiPort) |
void |
setStoreId(java.lang.String storeId) |
void |
setSuccessfullyInitialised(boolean successfullyInitialised) |
public KKRMIEngBase(EngineConfigIf engConfig) throws com.konakart.app.KKException
engConfig - the engConfigcom.konakart.app.KKException - an unexpected KKException exceptionpublic void init()
throws com.konakart.app.KKException
com.konakart.app.KKException - an unexpected KKException exceptionprotected com.konakart.app.KKException handleThrowable(java.lang.Throwable e,
java.lang.String methodName)
We do this so that the receiver can detect the cause exception and act on it. Otherwise it gets lost.
e - the emethodName - the methodNameprotected int getCodeFromException(java.lang.Throwable cause)
cause - the Throwablepublic int getRmiPort()
public void setRmiPort(int rmiPort)
rmiPort - the rmiPort to setpublic java.lang.String getRmiHost()
public void setRmiHost(java.lang.String rmiHost)
rmiHost - the rmiHost to setpublic boolean isSuccessfullyInitialised()
public void setSuccessfullyInitialised(boolean successfullyInitialised)
successfullyInitialised - the successfullyInitialised to setpublic java.lang.String getStoreId()
public void setStoreId(java.lang.String storeId)
storeId - the storeId to setpublic KKRMIEngServerIf getRmiEngine() throws com.konakart.app.KKException
com.konakart.app.KKException - an unexpected KKException exceptionpublic void setRmiEngine(KKRMIEngServerIf rmiEngine)
rmiEngine - the rmiEngine to setpublic EngineConfigIf getEngConf()
public void setEngConf(EngineConfigIf engConf)
engConf - the engConf to setCopyright © 2018 DS Data Systems UK Ltd.