home *** CD-ROM | disk | FTP | other *** search
/ PCNet 2003 November / PCNET_2003_11_1.iso / toolkit / MPsetupXP.exe / wmpns.jar / WMPNS / IWMPNetwork.class (.txt) < prev    next >
Encoding:
Java Class File  |  2002-10-15  |  3.6 KB  |  184 lines

  1. package WMPNS;
  2.  
  3. public class IWMPNetwork {
  4.    int m_pIWMPNetwork = -1;
  5.    int m_hWnd = 0;
  6.  
  7.    private native long getLostPacketsNative(int var1, int var2);
  8.  
  9.    private native long getReceptionQualityNative(int var1, int var2);
  10.  
  11.    private native long getBufferingCountNative(int var1, int var2);
  12.  
  13.    public long getRecoveredPackets() {
  14.       return this.getRecoveredPacketsNative(this.m_pIWMPNetwork, this.m_hWnd);
  15.    }
  16.  
  17.    private native long getBufferingProgressNative(int var1, int var2);
  18.  
  19.    private native long getBufferingTimeNative(int var1, int var2);
  20.  
  21.    private native void setBufferingTimeNative(long var1, int var3, int var4);
  22.  
  23.    private native long getBitRateNative(int var1, int var2);
  24.  
  25.    private native String getProxyExceptionListNative(String var1, int var2, int var3);
  26.  
  27.    public long getFrameRate() {
  28.       return this.getFrameRateNative(this.m_pIWMPNetwork, this.m_hWnd);
  29.    }
  30.  
  31.    private native void setProxyExceptionListNative(String var1, String var2, int var3, int var4);
  32.  
  33.    private native long getMaxBandwidthNative(int var1, int var2);
  34.  
  35.    public boolean getProxyBypassForLocal(String var1) {
  36.       return this.getProxyBypassForLocalNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
  37.    }
  38.  
  39.    public long getBandWidth() {
  40.       return this.getBandWidthNative(this.m_pIWMPNetwork, this.m_hWnd);
  41.    }
  42.  
  43.    public void setProxyBypassForLocal(String var1, boolean var2) {
  44.       this.setProxyBypassForLocalNative(var1, var2, this.m_pIWMPNetwork, this.m_hWnd);
  45.    }
  46.  
  47.    private native void setMaxBandwidthNative(long var1, int var3, int var4);
  48.  
  49.    private native boolean equalsNative(int var1, int var2, int var3);
  50.  
  51.    public String getSourceProtocol() {
  52.       return this.getSourceProtocolNative(this.m_pIWMPNetwork, this.m_hWnd);
  53.    }
  54.  
  55.    public long getMaxBitRate() {
  56.       return this.getMaxBitRateNative(this.m_pIWMPNetwork, this.m_hWnd);
  57.    }
  58.  
  59.    public long getEncodedFrameRate() {
  60.       return this.getEncodedFrameRateNative(this.m_pIWMPNetwork, this.m_hWnd);
  61.    }
  62.  
  63.    public long getFramesSkipped() {
  64.       return this.getFramesSkippedNative(this.m_pIWMPNetwork, this.m_hWnd);
  65.    }
  66.  
  67.    public boolean equals(IWMPNetwork var1) {
  68.       return this.equalsNative(this.m_pIWMPNetwork, var1.m_pIWMPNetwork, this.m_hWnd);
  69.    }
  70.  
  71.    private native long getReceivedPacketsNative(int var1, int var2);
  72.  
  73.    private native boolean getProxyBypassForLocalNative(String var1, int var2, int var3);
  74.  
  75.    private native void setProxyBypassForLocalNative(String var1, boolean var2, int var3, int var4);
  76.  
  77.    private native long getFramesSkippedNative(int var1, int var2);
  78.  
  79.    public long getBufferingTime() {
  80.       return this.getBufferingTimeNative(this.m_pIWMPNetwork, this.m_hWnd);
  81.    }
  82.  
  83.    public void setBufferingTime(long var1) {
  84.       this.setBufferingTimeNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
  85.    }
  86.  
  87.    public long getLostPackets() {
  88.       return this.getLostPacketsNative(this.m_pIWMPNetwork, this.m_hWnd);
  89.    }
  90.  
  91.    private native long getBandWidthNative(int var1, int var2);
  92.  
  93.    private native long getFrameRateNative(int var1, int var2);
  94.  
  95.    private native long getProxySettingsNative(String var1, int var2, int var3);
  96.  
  97.    private native void setProxySettingsNative(String var1, long var2, int var4, int var5);
  98.  
  99.    public long getBufferingProgress() {
  100.       return this.getBufferingProgressNative(this.m_pIWMPNetwork, this.m_hWnd);
  101.    }
  102.  
  103.    private native String getProxyNameNative(String var1, int var2, int var3);
  104.  
  105.    private native void setProxyNameNative(String var1, String var2, int var3, int var4);
  106.  
  107.    private native long getProxyPortNative(String var1, int var2, int var3);
  108.  
  109.    private native void setProxyPortNative(String var1, long var2, int var4, int var5);
  110.  
  111.    private native long getDownloadProgressNative(int var1, int var2);
  112.  
  113.    IWMPNetwork() {
  114.    }
  115.  
  116.    public long getBufferingCount() {
  117.       return this.getBufferingCountNative(this.m_pIWMPNetwork, this.m_hWnd);
  118.    }
  119.  
  120.    public long getBitRate() {
  121.       return this.getBitRateNative(this.m_pIWMPNetwork, this.m_hWnd);
  122.    }
  123.  
  124.    private native long getRecoveredPacketsNative(int var1, int var2);
  125.  
  126.    private native String getSourceProtocolNative(int var1, int var2);
  127.  
  128.    private native long getMaxBitRateNative(int var1, int var2);
  129.  
  130.    private native long getEncodedFrameRateNative(int var1, int var2);
  131.  
  132.    public long getReceivedPackets() {
  133.       return this.getReceivedPacketsNative(this.m_pIWMPNetwork, this.m_hWnd);
  134.    }
  135.  
  136.    public String getProxyName(String var1) {
  137.       return this.getProxyNameNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
  138.    }
  139.  
  140.    public long getReceptionQuality() {
  141.       return this.getReceptionQualityNative(this.m_pIWMPNetwork, this.m_hWnd);
  142.    }
  143.  
  144.    public void setProxyName(String var1, String var2) {
  145.       this.setProxyNameNative(var1, var2, this.m_pIWMPNetwork, this.m_hWnd);
  146.    }
  147.  
  148.    public String getProxyExceptionList(String var1) {
  149.       return this.getProxyExceptionListNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
  150.    }
  151.  
  152.    public void setProxyExceptionList(String var1, String var2) {
  153.       this.setProxyExceptionListNative(var1, var2, this.m_pIWMPNetwork, this.m_hWnd);
  154.    }
  155.  
  156.    public long getMaxBandwidth() {
  157.       return this.getMaxBandwidthNative(this.m_pIWMPNetwork, this.m_hWnd);
  158.    }
  159.  
  160.    public void setMaxBandwidth(long var1) {
  161.       this.setMaxBandwidthNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
  162.    }
  163.  
  164.    public long getProxyPort(String var1) {
  165.       return this.getProxyPortNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
  166.    }
  167.  
  168.    public void setProxyPort(String var1, long var2) {
  169.       this.setProxyPortNative(var1, var2, this.m_pIWMPNetwork, this.m_hWnd);
  170.    }
  171.  
  172.    public long getProxySettings(String var1) {
  173.       return this.getProxySettingsNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
  174.    }
  175.  
  176.    public void setProxySettings(String var1, long var2) {
  177.       this.setProxySettingsNative(var1, var2, this.m_pIWMPNetwork, this.m_hWnd);
  178.    }
  179.  
  180.    public long getDownloadProgress() {
  181.       return this.getDownloadProgressNative(this.m_pIWMPNetwork, this.m_hWnd);
  182.    }
  183. }
  184.