de.tubs.macs.control.modules.mbone
Class MBone

java.lang.Object
  |
  +--de.tubs.macs.control.modules.mbone.MBone

public class MBone
extends java.lang.Object
implements MacsModule, inria.net.sap.SapEventHandler

This class provides automatic testing.


Field Summary
(package private)  inria.net.sap.SapManager manager
           
static java.lang.String NAME
           
static int VERSION_MAJOR
           
static int VERSION_MINOR
           
 
Fields inherited from interface inria.net.sap.SapEventHandler
AddressChanged, InfoChanged
 
Constructor Summary
MBone()
           
 
Method Summary
 void exitModule()
          let the module exit gracefully
 int getMajorVersion()
          get major version
 int getMinorVersion()
          get minor version
 java.lang.String getModuleName()
          get module name
 javax.swing.JPanel getModulePanel()
          get a panel where the module can display additional information.
 java.lang.String getModuleStatus()
          get module status
 void handleDeletion(inria.net.sap.SapSession session)
           
 void handleModification(inria.net.sap.SapSession session, int type)
           
 void handleNewSession(inria.net.sap.SapSession session)
           
 void startModule()
          start execution.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_MAJOR

public static final int VERSION_MAJOR

VERSION_MINOR

public static final int VERSION_MINOR

NAME

public static final java.lang.String NAME

manager

inria.net.sap.SapManager manager
Constructor Detail

MBone

public MBone()
Method Detail

startModule

public void startModule()
start execution.
Specified by:
startModule in interface MacsModule

exitModule

public void exitModule()
Description copied from interface: MacsModule
let the module exit gracefully
Specified by:
exitModule in interface MacsModule

getModuleName

public java.lang.String getModuleName()
Description copied from interface: MacsModule
get module name
Specified by:
getModuleName in interface MacsModule

getModuleStatus

public java.lang.String getModuleStatus()
Description copied from interface: MacsModule
get module status
Specified by:
getModuleStatus in interface MacsModule

getModulePanel

public javax.swing.JPanel getModulePanel()
Description copied from interface: MacsModule
get a panel where the module can display additional information. can be null.
Specified by:
getModulePanel in interface MacsModule

getMajorVersion

public int getMajorVersion()
Description copied from interface: MacsModule
get major version
Specified by:
getMajorVersion in interface MacsModule

getMinorVersion

public int getMinorVersion()
Description copied from interface: MacsModule
get minor version
Specified by:
getMinorVersion in interface MacsModule

handleNewSession

public void handleNewSession(inria.net.sap.SapSession session)
Specified by:
handleNewSession in interface inria.net.sap.SapEventHandler

handleDeletion

public void handleDeletion(inria.net.sap.SapSession session)
Specified by:
handleDeletion in interface inria.net.sap.SapEventHandler

handleModification

public void handleModification(inria.net.sap.SapSession session,
                               int type)
Specified by:
handleModification in interface inria.net.sap.SapEventHandler