Java/sun/net/NetworkClient.fz
# Fuzion interface to instance members of Java instance class 'sun.net.NetworkClient'
#
# !!!!!! DO NOT EDIT, GENERATED CODE !!!!!!
#
# This code was generated automatically using the fzjava tool V0.087 called
# as follows:
#
# ./build/bin/fzjava java.base -to=build/modules/java.base -verbose=0
#
public Java.sun.net.NetworkClient(redef forbidden void) ref : Java.java.lang.Object(forbidden), fuzion.java.Java_Object(forbidden) is
# call Java instance method 'public void sun.net.NetworkClient.closeServer() throws java.io.IOException':
#
public closeServer outcome (unit) =>
fuzion.java.call_virtual (outcome (unit)) "sun.net.NetworkClient" "closeServer" "()V" NetworkClient.this []
# call Java instance method 'public int sun.net.NetworkClient.getConnectTimeout()':
#
public getConnectTimeout i32 =>
fuzion.java.call_virtual (i32) "sun.net.NetworkClient" "getConnectTimeout" "()I" NetworkClient.this []
# call Java instance method 'public int sun.net.NetworkClient.getReadTimeout()':
#
public getReadTimeout i32 =>
fuzion.java.call_virtual (i32) "sun.net.NetworkClient" "getReadTimeout" "()I" NetworkClient.this []
# call Java instance method 'public void sun.net.NetworkClient.openServer(java.lang.String,int) throws java.io.IOException,java.net.UnknownHostException':
#
public openServer_Ljava_7_lang_7_String_s_I(arg0 String, arg1 i32) outcome (unit) =>
fuzion.java.call_virtual (outcome (unit)) "sun.net.NetworkClient" "openServer" "(Ljava/lang/String;I)V" NetworkClient.this [(fuzion.java.string_to_java_object Java.sun.net.NetworkClient.openServer_Ljava_7_lang_7_String_s_I.this.arg0); (fuzion.java.i32_to_java_object Java.sun.net.NetworkClient.openServer_Ljava_7_lang_7_String_s_I.this.arg1)]
# call Java instance method 'public boolean sun.net.NetworkClient.serverIsOpen()':
#
public serverIsOpen bool =>
fuzion.java.call_virtual (bool) "sun.net.NetworkClient" "serverIsOpen" "()Z" NetworkClient.this []
# call Java instance method 'public void sun.net.NetworkClient.setConnectTimeout(int)':
#
public setConnectTimeout_I(arg0 i32) unit =>
fuzion.java.call_virtual (unit) "sun.net.NetworkClient" "setConnectTimeout" "(I)V" NetworkClient.this [(fuzion.java.i32_to_java_object Java.sun.net.NetworkClient.setConnectTimeout_I.this.arg0)]
# call Java instance method 'public void sun.net.NetworkClient.setReadTimeout(int)':
#
public setReadTimeout_I(arg0 i32) unit =>
fuzion.java.call_virtual (unit) "sun.net.NetworkClient" "setReadTimeout" "(I)V" NetworkClient.this [(fuzion.java.i32_to_java_object Java.sun.net.NetworkClient.setReadTimeout_I.this.arg0)]
# short-hand to call Java method 'public void sun.net.NetworkClient.openServer(java.lang.String,int) throws java.io.IOException,java.net.UnknownHostException':
#
public openServer(arg0 String, arg1 i32) (outcome (unit)) =>
openServer_Ljava_7_lang_7_String_s_I Java.sun.net.NetworkClient.openServer.this.arg0 Java.sun.net.NetworkClient.openServer.this.arg1
# short-hand to call Java method 'public void sun.net.NetworkClient.setConnectTimeout(int)':
#
public setConnectTimeout(arg0 i32) (unit) =>
setConnectTimeout_I Java.sun.net.NetworkClient.setConnectTimeout.this.arg0
# short-hand to call Java method 'public void sun.net.NetworkClient.setReadTimeout(int)':
#
public setReadTimeout(arg0 i32) (unit) =>
setReadTimeout_I Java.sun.net.NetworkClient.setReadTimeout.this.arg0
# read instance Java field 'public java.io.InputStream sun.net.NetworkClient.serverInput':
#
public serverInput Java.java.io.InputStream =>
fuzion.java.get_field (Java.java.io.InputStream) NetworkClient.this "serverInput"
# read instance Java field 'public java.io.PrintStream sun.net.NetworkClient.serverOutput':
#
public serverOutput Java.java.io.PrintStream =>
fuzion.java.get_field (Java.java.io.PrintStream) NetworkClient.this "serverOutput"
last changed: 2024-03-07