Class ConnectionStateListener
public class ConnectionStateListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IConnectionStateListener
- Inheritance
-
ConnectionStateListener
- Implements
- Derived
- Inherited Members
Constructors
ConnectionStateListener()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ConnectionStateListener()
ConnectionStateListener(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public ConnectionStateListener(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
OnConnected
public Action OnConnected { get; set; }
Property Value
Remarks
If OnConnected has a value it takes precedence over corresponding class method
OnDisconnected
public Action OnDisconnected { get; set; }
Property Value
Remarks
If OnDisconnected has a value it takes precedence over corresponding class method
Methods
Connected()
public virtual void Connected()
Disconnected()
public virtual void Disconnected()
InitializeHandlers()
Handlers initializer for ConnectionStateListener
protected virtual void InitializeHandlers()