public abstract class AbstractCapsisBridgeClientManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected AbstractCapsisBridgeClient.TestHelper |
testHelper |
| Constructor and Description |
|---|
AbstractCapsisBridgeClientManager(java.lang.String _target) |
| Modifier and Type | Method and Description |
|---|---|
static void |
info(java.lang.String msg,
java.lang.Object... params)
Utility method.
|
abstract AbstractCapsisBridgeClient |
initializeService(int port,
int heapMB)
Initializes a new CapsisBridgeClient (either in direct or gRPC mode) and returns it.
|
abstract void |
shutDownNow()
Shuts down the client communication channel (does nothing in direct mode)
|
abstract void |
shutDownService(int id)
Shuts down the server (does nothing in direct mode)
|
static void |
warning(java.lang.String msg,
java.lang.Object... params)
Utility method.
|
protected AbstractCapsisBridgeClient.TestHelper testHelper
public AbstractCapsisBridgeClientManager(java.lang.String _target)
public static void info(java.lang.String msg,
java.lang.Object... params)
msg - The message to logparams - any other paramspublic static void warning(java.lang.String msg,
java.lang.Object... params)
msg - The message to logparams - any other paramspublic abstract AbstractCapsisBridgeClient initializeService(int port, int heapMB)
port - The port onto which the new service should listen. Use 0 to let the service choose a port.
This parameter is ignored in direct mode.heapMB - The heap size in MegaBytes to allocate for the new servicepublic abstract void shutDownService(int id)
id - The server id (port) to shut down. Use 0 to shut down all servers.public abstract void shutDownNow()
throws java.lang.InterruptedException
java.lang.InterruptedException