ccs.cpc.impl
Class BaseStrain

java.lang.Object
  extended by ccs.cpc.impl.BaseStrain
Direct Known Subclasses:
PlusStrain

public class BaseStrain
extends java.lang.Object


Field Summary
protected  CpcImpl cpc
           
 
Constructor Summary
BaseStrain()
           
 
Method Summary
(package private)  void checkLicence()
          Check whether this edition of CPC has a valid licence, if it needs one.
(package private)  void checkPasswordChangable(ArchVDevice avd)
          Throws if the supplied device can't have its password changed.
 java.lang.String getStrainTitle()
           
 java.lang.String getTitleExtension()
           
(package private)  void initChaosMage()
           
(package private)  void loadDispatcher()
           
protected static void out(java.lang.String q)
           
(package private)  void postprocessArgs(int off, int len)
           
(package private)  void preprocessArgs(int off, int len)
           
(package private)  void setLinkage(CpcImpl cpc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cpc

protected CpcImpl cpc
Constructor Detail

BaseStrain

BaseStrain()
Method Detail

setLinkage

void setLinkage(CpcImpl cpc)

getStrainTitle

public java.lang.String getStrainTitle()

getTitleExtension

public java.lang.String getTitleExtension()

loadDispatcher

void loadDispatcher()

initChaosMage

void initChaosMage()

checkPasswordChangable

void checkPasswordChangable(ArchVDevice avd)
                      throws ccs.NoAccessException
Throws if the supplied device can't have its password changed. This is to preserve the Chinese wall between archives and CDBs (use CPCC to change passwords on the latter).

Throws:
ccs.NoAccessException - If denied.

checkLicence

void checkLicence()
            throws java.io.IOException,
                   java.lang.InterruptedException
Check whether this edition of CPC has a valid licence, if it needs one. (CPC+ doesn't, because Checkpoint Core already has one).

Throws:
java.io.IOException - At need
java.lang.InterruptedException

preprocessArgs

void preprocessArgs(int off,
                    int len)
              throws java.io.IOException,
                     java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

postprocessArgs

void postprocessArgs(int off,
                     int len)
               throws java.io.IOException
Throws:
java.io.IOException

out

protected static void out(java.lang.String q)