public class JavaBBjBridgeFactory
extends java.lang.Object
Constructor and Description |
---|
JavaBBjBridgeFactory() |
Modifier and Type | Method and Description |
---|---|
static JavaBBjBridge |
createBridge(java.lang.String p_commandLineParams,
boolean p_persistentConnection,
boolean p_environmentPersists,
boolean p_channelsPersist,
boolean p_variablesPersist) |
static JavaBBjBridge |
createBridge(java.lang.String p_commandLineParams,
boolean p_persistentConnection,
boolean p_environmentPersists,
boolean p_channelsPersist,
boolean p_addrsPersist,
boolean p_variablesPersist)
Creates a JavaBBjBridge.
|
static BBjBridgeRequest |
createBridgeRequest()
Creates a BBjBridgeRequest that can be used in call to
JavaBBjBridge.runBBj().
|
static BBjBridgeResponse |
createBridgeResponse()
Creates a BBjBridgeResponse that can be used in call to
JavaBBjBridge.runBBj().
|
public static JavaBBjBridge createBridge(java.lang.String p_commandLineParams, boolean p_persistentConnection, boolean p_environmentPersists, boolean p_channelsPersist, boolean p_addrsPersist, boolean p_variablesPersist) throws BBjBridgeException
p_commandLineParams
- The command line parameters that
are to be passed to the BBj process (as opposed to the parameters
that are to be passed to the program itself). Recognized command
line options are
-cp_persistentConnection
- If true, the JavaBBjBridge will maintain
a persistent socket connection to the BBjBridgeServer and multiple
calls may be made to JavaBBjBridge.runBBj(). The connection will persist
until JavaBBjBridge.close() is called. If p_persistentConnection is
false, the socket will be closed after the first call to
JavaBBjBridge.runBBj() and subsequent calls will fail.p_environmentPersists
- If true, then the following environment
settings will persist between calls to JavaBBjBridge.runBBj():
SETOPTS,
STBL values,
SETDAY,
ERRMES(),
PREFIX, and
CHDIR.
if false, then all environment settings will be reset at the
end of each call to JavaBBjBridge.runBBj().p_channelsPersists
- If true, all open channels
will persist between calls to JavaBBjBridge.runBBj().
If false, then all open channels except console will be closed at the
end of each call to JavaBBjBridge.runBBj().p_addrsPersists
- If true, all ADDRd programs
will persist between calls to JavaBBjBridge.runBBj().
If false, then all ADDRd programs will be DROPped at the
end of each call to JavaBBjBridge.runBBj().p_variablesPersist
- If true, all variables
will persist between calls to JavaBBjBridge.runBBj().
If false, then all variables will be cleared at the
end of each call to JavaBBjBridge.runBBj().BBjBridgeException
public static JavaBBjBridge createBridge(java.lang.String p_commandLineParams, boolean p_persistentConnection, boolean p_environmentPersists, boolean p_channelsPersist, boolean p_variablesPersist) throws BBjBridgeException
BBjBridgeException
public static BBjBridgeRequest createBridgeRequest()
public static BBjBridgeResponse createBridgeResponse()