home *** CD-ROM | disk | FTP | other *** search
- package WMPNS;
-
- public class IWMPNetwork {
- int m_pIWMPNetwork = -1;
- int m_hWnd = 0;
-
- private native long getLostPacketsNative(int var1, int var2);
-
- private native long getReceptionQualityNative(int var1, int var2);
-
- private native long getBufferingCountNative(int var1, int var2);
-
- public long getRecoveredPackets() {
- return this.getRecoveredPacketsNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- private native long getBufferingProgressNative(int var1, int var2);
-
- private native long getBufferingTimeNative(int var1, int var2);
-
- private native void setBufferingTimeNative(long var1, int var3, int var4);
-
- private native long getBitRateNative(int var1, int var2);
-
- private native String getProxyExceptionListNative(String var1, int var2, int var3);
-
- public long getFrameRate() {
- return this.getFrameRateNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- private native void setProxyExceptionListNative(String var1, String var2, int var3, int var4);
-
- private native long getMaxBandwidthNative(int var1, int var2);
-
- public boolean getProxyBypassForLocal(String var1) {
- return this.getProxyBypassForLocalNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getBandWidth() {
- return this.getBandWidthNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public void setProxyBypassForLocal(String var1, boolean var2) {
- this.setProxyBypassForLocalNative(var1, var2, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- private native void setMaxBandwidthNative(long var1, int var3, int var4);
-
- private native boolean equalsNative(int var1, int var2, int var3);
-
- public String getSourceProtocol() {
- return this.getSourceProtocolNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getMaxBitRate() {
- return this.getMaxBitRateNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getEncodedFrameRate() {
- return this.getEncodedFrameRateNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getFramesSkipped() {
- return this.getFramesSkippedNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public boolean equals(IWMPNetwork var1) {
- return this.equalsNative(this.m_pIWMPNetwork, var1.m_pIWMPNetwork, this.m_hWnd);
- }
-
- private native long getReceivedPacketsNative(int var1, int var2);
-
- private native boolean getProxyBypassForLocalNative(String var1, int var2, int var3);
-
- private native void setProxyBypassForLocalNative(String var1, boolean var2, int var3, int var4);
-
- private native long getFramesSkippedNative(int var1, int var2);
-
- public long getBufferingTime() {
- return this.getBufferingTimeNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public void setBufferingTime(long var1) {
- this.setBufferingTimeNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getLostPackets() {
- return this.getLostPacketsNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- private native long getBandWidthNative(int var1, int var2);
-
- private native long getFrameRateNative(int var1, int var2);
-
- private native long getProxySettingsNative(String var1, int var2, int var3);
-
- private native void setProxySettingsNative(String var1, long var2, int var4, int var5);
-
- public long getBufferingProgress() {
- return this.getBufferingProgressNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- private native String getProxyNameNative(String var1, int var2, int var3);
-
- private native void setProxyNameNative(String var1, String var2, int var3, int var4);
-
- private native long getProxyPortNative(String var1, int var2, int var3);
-
- private native void setProxyPortNative(String var1, long var2, int var4, int var5);
-
- private native long getDownloadProgressNative(int var1, int var2);
-
- IWMPNetwork() {
- }
-
- public long getBufferingCount() {
- return this.getBufferingCountNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getBitRate() {
- return this.getBitRateNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- private native long getRecoveredPacketsNative(int var1, int var2);
-
- private native String getSourceProtocolNative(int var1, int var2);
-
- private native long getMaxBitRateNative(int var1, int var2);
-
- private native long getEncodedFrameRateNative(int var1, int var2);
-
- public long getReceivedPackets() {
- return this.getReceivedPacketsNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public String getProxyName(String var1) {
- return this.getProxyNameNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getReceptionQuality() {
- return this.getReceptionQualityNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public void setProxyName(String var1, String var2) {
- this.setProxyNameNative(var1, var2, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public String getProxyExceptionList(String var1) {
- return this.getProxyExceptionListNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public void setProxyExceptionList(String var1, String var2) {
- this.setProxyExceptionListNative(var1, var2, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getMaxBandwidth() {
- return this.getMaxBandwidthNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public void setMaxBandwidth(long var1) {
- this.setMaxBandwidthNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getProxyPort(String var1) {
- return this.getProxyPortNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public void setProxyPort(String var1, long var2) {
- this.setProxyPortNative(var1, var2, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getProxySettings(String var1) {
- return this.getProxySettingsNative(var1, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public void setProxySettings(String var1, long var2) {
- this.setProxySettingsNative(var1, var2, this.m_pIWMPNetwork, this.m_hWnd);
- }
-
- public long getDownloadProgress() {
- return this.getDownloadProgressNative(this.m_pIWMPNetwork, this.m_hWnd);
- }
- }
-