|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--advancedrelay.laygo.ProtocolStack
Encapsulates supervisory access to the LayGO protocol stack.
All methods are declared static since there is only one stack.
Constructor Summary | |
ProtocolStack()
|
Method Summary | |
static boolean |
isStarted()
Returns true if the stack has been started, false otherwise. |
static void |
start(java.lang.String cfgFile)
Configures, initializes and enables the stack. |
static void |
start(java.lang.String[] cfgFileList)
Configures, initializes and enables the stack. |
static void |
start(java.lang.String[] cfgFileList,
java.lang.String serviceDb)
Configures, initializes and enables the stack. |
static void |
start(java.lang.String cfgFile,
java.lang.String serviceDb)
Configures, initializes and enables the stack. |
static void |
stop()
Disables and uninitializes the stack. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProtocolStack()
Method Detail |
public static boolean isStarted()
public static void start(java.lang.String cfgFile) throws ProtocolStackException
cfgFile
- .cfg file name
ProtocolStackException
- The reason for failure.public static void start(java.lang.String[] cfgFileList) throws ProtocolStackException
cfgFileList
- ordered list of .cfg file names
ProtocolStackException
- The reason for failure.public static void start(java.lang.String[] cfgFileList, java.lang.String serviceDb) throws ProtocolStackException
cfgFileList
- ordered list of .cfg file namesserviceDb
- full path to service database file
ProtocolStackException
- The reason for failure.public static void start(java.lang.String cfgFile, java.lang.String serviceDb) throws ProtocolStackException
cfgFile
- .cfg file nameserviceDb
- full path to service database file
ProtocolStackException
- The reason for failure.public static void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |