/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.4
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.robovm.libimobiledevice.binding;
public class LockdowndServiceDescriptorStruct {
private long swigCPtr;
protected boolean swigCMemOwn;
protected LockdowndServiceDescriptorStruct(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(LockdowndServiceDescriptorStruct obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
LibIMobileDeviceJNI.delete_LockdowndServiceDescriptorStruct(swigCPtr);
}
swigCPtr = 0;
}
}
public void setPort(short value) {
LibIMobileDeviceJNI.LockdowndServiceDescriptorStruct_port_set(swigCPtr, this, value);
}
public short getPort() {
return LibIMobileDeviceJNI.LockdowndServiceDescriptorStruct_port_get(swigCPtr, this);
}
public void setSslEnabled(boolean value) {
LibIMobileDeviceJNI.LockdowndServiceDescriptorStruct_sslEnabled_set(swigCPtr, this, value);
}
public boolean getSslEnabled() {
return LibIMobileDeviceJNI.LockdowndServiceDescriptorStruct_sslEnabled_get(swigCPtr, this);
}
public LockdowndServiceDescriptorStruct() {
this(LibIMobileDeviceJNI.new_LockdowndServiceDescriptorStruct(), true);
}
}