/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.2 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ package com.frostwire.jlibtorrent.swig; public class utp_status { private long swigCPtr; protected boolean swigCMemOwn; protected utp_status(long cPtr, boolean cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = cPtr; } protected static long getCPtr(utp_status obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public synchronized void delete() { if (swigCPtr != 0) { if (swigCMemOwn) { swigCMemOwn = false; libtorrent_jni.delete_utp_status(swigCPtr); } swigCPtr = 0; } } public void setNum_idle(int value) { libtorrent_jni.utp_status_num_idle_set(swigCPtr, this, value); } public int getNum_idle() { return libtorrent_jni.utp_status_num_idle_get(swigCPtr, this); } public void setNum_syn_sent(int value) { libtorrent_jni.utp_status_num_syn_sent_set(swigCPtr, this, value); } public int getNum_syn_sent() { return libtorrent_jni.utp_status_num_syn_sent_get(swigCPtr, this); } public void setNum_connected(int value) { libtorrent_jni.utp_status_num_connected_set(swigCPtr, this, value); } public int getNum_connected() { return libtorrent_jni.utp_status_num_connected_get(swigCPtr, this); } public void setNum_fin_sent(int value) { libtorrent_jni.utp_status_num_fin_sent_set(swigCPtr, this, value); } public int getNum_fin_sent() { return libtorrent_jni.utp_status_num_fin_sent_get(swigCPtr, this); } public void setNum_close_wait(int value) { libtorrent_jni.utp_status_num_close_wait_set(swigCPtr, this, value); } public int getNum_close_wait() { return libtorrent_jni.utp_status_num_close_wait_get(swigCPtr, this); } public void setPacket_loss(java.math.BigInteger value) { libtorrent_jni.utp_status_packet_loss_set(swigCPtr, this, value); } public java.math.BigInteger getPacket_loss() { return libtorrent_jni.utp_status_packet_loss_get(swigCPtr, this); } public void setTimeout(java.math.BigInteger value) { libtorrent_jni.utp_status_timeout_set(swigCPtr, this, value); } public java.math.BigInteger getTimeout() { return libtorrent_jni.utp_status_timeout_get(swigCPtr, this); } public void setPackets_in(java.math.BigInteger value) { libtorrent_jni.utp_status_packets_in_set(swigCPtr, this, value); } public java.math.BigInteger getPackets_in() { return libtorrent_jni.utp_status_packets_in_get(swigCPtr, this); } public void setPackets_out(java.math.BigInteger value) { libtorrent_jni.utp_status_packets_out_set(swigCPtr, this, value); } public java.math.BigInteger getPackets_out() { return libtorrent_jni.utp_status_packets_out_get(swigCPtr, this); } public void setFast_retransmit(java.math.BigInteger value) { libtorrent_jni.utp_status_fast_retransmit_set(swigCPtr, this, value); } public java.math.BigInteger getFast_retransmit() { return libtorrent_jni.utp_status_fast_retransmit_get(swigCPtr, this); } public void setPacket_resend(java.math.BigInteger value) { libtorrent_jni.utp_status_packet_resend_set(swigCPtr, this, value); } public java.math.BigInteger getPacket_resend() { return libtorrent_jni.utp_status_packet_resend_get(swigCPtr, this); } public void setSamples_above_target(java.math.BigInteger value) { libtorrent_jni.utp_status_samples_above_target_set(swigCPtr, this, value); } public java.math.BigInteger getSamples_above_target() { return libtorrent_jni.utp_status_samples_above_target_get(swigCPtr, this); } public void setSamples_below_target(java.math.BigInteger value) { libtorrent_jni.utp_status_samples_below_target_set(swigCPtr, this, value); } public java.math.BigInteger getSamples_below_target() { return libtorrent_jni.utp_status_samples_below_target_get(swigCPtr, this); } public void setPayload_pkts_in(java.math.BigInteger value) { libtorrent_jni.utp_status_payload_pkts_in_set(swigCPtr, this, value); } public java.math.BigInteger getPayload_pkts_in() { return libtorrent_jni.utp_status_payload_pkts_in_get(swigCPtr, this); } public void setPayload_pkts_out(java.math.BigInteger value) { libtorrent_jni.utp_status_payload_pkts_out_set(swigCPtr, this, value); } public java.math.BigInteger getPayload_pkts_out() { return libtorrent_jni.utp_status_payload_pkts_out_get(swigCPtr, this); } public void setInvalid_pkts_in(java.math.BigInteger value) { libtorrent_jni.utp_status_invalid_pkts_in_set(swigCPtr, this, value); } public java.math.BigInteger getInvalid_pkts_in() { return libtorrent_jni.utp_status_invalid_pkts_in_get(swigCPtr, this); } public void setRedundant_pkts_in(java.math.BigInteger value) { libtorrent_jni.utp_status_redundant_pkts_in_set(swigCPtr, this, value); } public java.math.BigInteger getRedundant_pkts_in() { return libtorrent_jni.utp_status_redundant_pkts_in_get(swigCPtr, this); } public utp_status() { this(libtorrent_jni.new_utp_status(), true); } }