com.konakart.rmi
Class KKRMIEngBase
java.lang.Object
com.konakart.rmi.KKRMIEngBase
- Direct Known Subclasses:
- KKRMIEng
public class KKRMIEngBase
- extends java.lang.Object
KonaKart RMI Client-side Engine Base for the Application Engine
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KKRMIEngBase
public KKRMIEngBase(EngineConfigIf engConf)
throws KKException
- Constructor with an EngineConfig object.
- Parameters:
engConf -
- Throws:
KKException
init
public void init()
throws KKException
- Throws:
KKException
handleThrowable
protected KKException handleThrowable(java.lang.Throwable e,
java.lang.String methodName)
- Handles the exception for all methods. If the exception is a RemoteException or a
ServerException and has a cause exception, then we add the cause exception instead of the
RemoteException, although we do save the message of the RemoteException or ServerException.
We do this so that the receiver can detect the cause exception and act on it. Otherwise it
gets lost.
- Parameters:
e - methodName -
- Returns:
- Returns an exception
getRmiPort
public int getRmiPort()
- Returns:
- the rmiPort
setRmiPort
public void setRmiPort(int rmiPort)
- Parameters:
rmiPort - the rmiPort to set
getRmiHost
public java.lang.String getRmiHost()
- Returns:
- the rmiHost
setRmiHost
public void setRmiHost(java.lang.String rmiHost)
- Parameters:
rmiHost - the rmiHost to set
isSuccessfullyInitialised
public boolean isSuccessfullyInitialised()
- Returns:
- the successfullyInitialised
setSuccessfullyInitialised
public void setSuccessfullyInitialised(boolean successfullyInitialised)
- Parameters:
successfullyInitialised - the successfullyInitialised to set
getStoreId
public java.lang.String getStoreId()
- Returns:
- the storeId
setStoreId
public void setStoreId(java.lang.String storeId)
- Parameters:
storeId - the storeId to set
getRmiEngine
public KKRMIEngServerIf getRmiEngine()
throws KKException
- Returns:
- the rmiEngine
- Throws:
KKException
setRmiEngine
public void setRmiEngine(KKRMIEngServerIf rmiEngine)
- Parameters:
rmiEngine - the rmiEngine to set
getEngConf
public EngineConfigIf getEngConf()
- Returns:
- the engConf
setEngConf
public void setEngConf(EngineConfigIf engConf)
- Parameters:
engConf - the engConf to set
Copyright © 2011 DS Data Systems UK Ltd.