JavaBridge::AbstractBridgeConnection (Class)

In: ruby/comm_abstract.rb
Parent: Object

abstract communication driver class

Included Modules

Singleton

Public Class methods

Public Instance methods

java ${VM args} JavaBridge ${BridgeArgs} -logLevel:*** -logfile:*** This method should return "BridgeArgs". "VM args" is made by options. An option is given by "opt_proc.call(:some_key)".

If the communication bridge needs additional classpath for the java implementation, the subclass return the classpath that will be used as a classpath argument of JVM. "libpath" is the full path to the directory including jbridge.rb.

if the implementation driver has some default option parameters, this method return the default values.

Send a message to JavaBridge. Through this method, the jbridge module send some messages to Java, such as new, call, ref and set method.

Shutdown the communication server. The subclass should kill the communication server running on ruby. The JVM is killed by the framework.

Startup the communication server. The JVM is started by the framework.

[Validate]