InscoperAPI/Build/Java/com.inscoper.api/com/inscoper/api/ConnectionDescription.java¶
Packages¶
| Name |
|---|
| com.inscoper.api |
Classes¶
| Name | |
|---|---|
| class | com.inscoper.api.ConnectionDescription ConnectionDescription class provides connection information coming from the device controller. |
Source code¶
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (https://www.swig.org).
* Version 4.3.1
*
* Do not make changes to this file unless you know what you are doing - modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package com.inscoper.api;
import com.inscoper.api.logging.*;
public class ConnectionDescription {
private transient long swigCPtr;
private transient boolean swigCMemOwn;
protected ConnectionDescription(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ConnectionDescription obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void swigSetCMemOwn(boolean own) {
swigCMemOwn = own;
}
@SuppressWarnings({"deprecation", "removal"})
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
InscoperJNI.delete_ConnectionDescription(swigCPtr);
}
swigCPtr = 0;
}
}
public ConnectionDescription() {
this(InscoperJNI.new_ConnectionDescription(), true);
}
public int getTag() {
return InscoperJNI.ConnectionDescription_getTag(swigCPtr, this);
}
public void setTag(int tag) {
InscoperJNI.ConnectionDescription_setTag(swigCPtr, this, tag);
}
public EConnectionTypeDesc getType() {
return EConnectionTypeDesc.swigToEnum(InscoperJNI.ConnectionDescription_getType(swigCPtr, this));
}
public void setType(EConnectionTypeDesc type) {
InscoperJNI.ConnectionDescription_setType(swigCPtr, this, type.swigValue());
}
public String getDescription() {
return InscoperJNI.ConnectionDescription_getDescription(swigCPtr, this);
}
public void setDescription(String description) {
InscoperJNI.ConnectionDescription_setDescription(swigCPtr, this, description);
}
}
Updated on 2026-09-03 at 12:14:19 +0200