Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Java/java/net/MulticastSocket.fz


# Fuzion interface to instance members of Java instance class 'java.net.MulticastSocket'
#
# !!!!!!  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.java.net.MulticastSocket(redef forbidden void) ref : Java.java.net.DatagramSocket(forbidden), fuzion.java.Java_Object(forbidden) is

  # call Java instance method 'public java.net.InetAddress java.net.MulticastSocket.getInterface() throws java.net.SocketException':
  #
  public getInterface outcome (Java.java.net.InetAddress) =>
    fuzion.java.call_virtual (outcome (Java.java.net.InetAddress)) "java.net.MulticastSocket" "getInterface" "()Ljava/net/InetAddress;" MulticastSocket.this []

  # call Java instance method 'public boolean java.net.MulticastSocket.getLoopbackMode() throws java.net.SocketException':
  #
  public getLoopbackMode outcome (bool) =>
    fuzion.java.call_virtual (outcome (bool)) "java.net.MulticastSocket" "getLoopbackMode" "()Z" MulticastSocket.this []

  # call Java instance method 'public java.net.NetworkInterface java.net.MulticastSocket.getNetworkInterface() throws java.net.SocketException':
  #
  public getNetworkInterface outcome (Java.java.net.NetworkInterface) =>
    fuzion.java.call_virtual (outcome (Java.java.net.NetworkInterface)) "java.net.MulticastSocket" "getNetworkInterface" "()Ljava/net/NetworkInterface;" MulticastSocket.this []

  # call Java instance method 'public byte java.net.MulticastSocket.getTTL() throws java.io.IOException':
  #
  public getTTL outcome (i8) =>
    fuzion.java.call_virtual (outcome (i8)) "java.net.MulticastSocket" "getTTL" "()B" MulticastSocket.this []

  # call Java instance method 'public int java.net.MulticastSocket.getTimeToLive() throws java.io.IOException':
  #
  public getTimeToLive outcome (i32) =>
    fuzion.java.call_virtual (outcome (i32)) "java.net.MulticastSocket" "getTimeToLive" "()I" MulticastSocket.this []

  # call Java instance method 'public void java.net.MulticastSocket.joinGroup(java.net.InetAddress) throws java.io.IOException':
  #
  public joinGroup_Ljava_7_net_7_InetAddress_s_(arg0 Java.java.net.InetAddress) outcome (unit) =>
    fuzion.java.call_virtual (outcome (unit)) "java.net.MulticastSocket" "joinGroup" "(Ljava/net/InetAddress;)V" MulticastSocket.this [(Java.java.net.MulticastSocket.joinGroup_Ljava_7_net_7_InetAddress_s_.this.arg0)]

  # call Java instance method 'public void java.net.MulticastSocket.leaveGroup(java.net.InetAddress) throws java.io.IOException':
  #
  public leaveGroup_Ljava_7_net_7_InetAddress_s_(arg0 Java.java.net.InetAddress) outcome (unit) =>
    fuzion.java.call_virtual (outcome (unit)) "java.net.MulticastSocket" "leaveGroup" "(Ljava/net/InetAddress;)V" MulticastSocket.this [(Java.java.net.MulticastSocket.leaveGroup_Ljava_7_net_7_InetAddress_s_.this.arg0)]

  # call Java instance method 'public void java.net.MulticastSocket.send(java.net.DatagramPacket,byte) throws java.io.IOException':
  #
  public send_Ljava_7_net_7_DatagramPacket_s_B(arg0 Java.java.net.DatagramPacket, arg1 i8) outcome (unit) =>
    fuzion.java.call_virtual (outcome (unit)) "java.net.MulticastSocket" "send" "(Ljava/net/DatagramPacket;B)V" MulticastSocket.this [(Java.java.net.MulticastSocket.send_Ljava_7_net_7_DatagramPacket_s_B.this.arg0); (fuzion.java.i8_to_java_object Java.java.net.MulticastSocket.send_Ljava_7_net_7_DatagramPacket_s_B.this.arg1)]

  # call Java instance method 'public void java.net.MulticastSocket.setInterface(java.net.InetAddress) throws java.net.SocketException':
  #
  public setInterface_Ljava_7_net_7_InetAddress_s_(arg0 Java.java.net.InetAddress) outcome (unit) =>
    fuzion.java.call_virtual (outcome (unit)) "java.net.MulticastSocket" "setInterface" "(Ljava/net/InetAddress;)V" MulticastSocket.this [(Java.java.net.MulticastSocket.setInterface_Ljava_7_net_7_InetAddress_s_.this.arg0)]

  # call Java instance method 'public void java.net.MulticastSocket.setLoopbackMode(boolean) throws java.net.SocketException':
  #
  public setLoopbackMode_Z(arg0 bool) outcome (unit) =>
    fuzion.java.call_virtual (outcome (unit)) "java.net.MulticastSocket" "setLoopbackMode" "(Z)V" MulticastSocket.this [(fuzion.java.bool_to_java_object Java.java.net.MulticastSocket.setLoopbackMode_Z.this.arg0)]

  # call Java instance method 'public void java.net.MulticastSocket.setNetworkInterface(java.net.NetworkInterface) throws java.net.SocketException':
  #
  public setNetworkInterface_Ljava_7_net_7_NetworkInterface_s_(arg0 Java.java.net.NetworkInterface) outcome (unit) =>
    fuzion.java.call_virtual (outcome (unit)) "java.net.MulticastSocket" "setNetworkInterface" "(Ljava/net/NetworkInterface;)V" MulticastSocket.this [(Java.java.net.MulticastSocket.setNetworkInterface_Ljava_7_net_7_NetworkInterface_s_.this.arg0)]

  # call Java instance method 'public void java.net.MulticastSocket.setTTL(byte) throws java.io.IOException':
  #
  public setTTL_B(arg0 i8) outcome (unit) =>
    fuzion.java.call_virtual (outcome (unit)) "java.net.MulticastSocket" "setTTL" "(B)V" MulticastSocket.this [(fuzion.java.i8_to_java_object Java.java.net.MulticastSocket.setTTL_B.this.arg0)]

  # call Java instance method 'public void java.net.MulticastSocket.setTimeToLive(int) throws java.io.IOException':
  #
  public setTimeToLive_I(arg0 i32) outcome (unit) =>
    fuzion.java.call_virtual (outcome (unit)) "java.net.MulticastSocket" "setTimeToLive" "(I)V" MulticastSocket.this [(fuzion.java.i32_to_java_object Java.java.net.MulticastSocket.setTimeToLive_I.this.arg0)]

  # short-hand to call Java method 'public void java.net.MulticastSocket.joinGroup(java.net.InetAddress) throws java.io.IOException':
  #
  public joinGroup(arg0 Java.java.net.InetAddress) (outcome (unit)) =>
    joinGroup_Ljava_7_net_7_InetAddress_s_ Java.java.net.MulticastSocket.joinGroup.this.arg0

  # short-hand to call Java method 'public void java.net.MulticastSocket.leaveGroup(java.net.InetAddress) throws java.io.IOException':
  #
  public leaveGroup(arg0 Java.java.net.InetAddress) (outcome (unit)) =>
    leaveGroup_Ljava_7_net_7_InetAddress_s_ Java.java.net.MulticastSocket.leaveGroup.this.arg0

  # short-hand to call Java method 'public void java.net.MulticastSocket.send(java.net.DatagramPacket,byte) throws java.io.IOException':
  #
  public send(arg0 Java.java.net.DatagramPacket, arg1 i8) (outcome (unit)) =>
    send_Ljava_7_net_7_DatagramPacket_s_B Java.java.net.MulticastSocket.send.this.arg0 Java.java.net.MulticastSocket.send.this.arg1

  # short-hand to call Java method 'public void java.net.MulticastSocket.setInterface(java.net.InetAddress) throws java.net.SocketException':
  #
  public setInterface(arg0 Java.java.net.InetAddress) (outcome (unit)) =>
    setInterface_Ljava_7_net_7_InetAddress_s_ Java.java.net.MulticastSocket.setInterface.this.arg0

  # short-hand to call Java method 'public void java.net.MulticastSocket.setLoopbackMode(boolean) throws java.net.SocketException':
  #
  public setLoopbackMode(arg0 bool) (outcome (unit)) =>
    setLoopbackMode_Z Java.java.net.MulticastSocket.setLoopbackMode.this.arg0

  # short-hand to call Java method 'public void java.net.MulticastSocket.setNetworkInterface(java.net.NetworkInterface) throws java.net.SocketException':
  #
  public setNetworkInterface(arg0 Java.java.net.NetworkInterface) (outcome (unit)) =>
    setNetworkInterface_Ljava_7_net_7_NetworkInterface_s_ Java.java.net.MulticastSocket.setNetworkInterface.this.arg0

  # short-hand to call Java method 'public void java.net.MulticastSocket.setTTL(byte) throws java.io.IOException':
  #
  public setTTL(arg0 i8) (outcome (unit)) =>
    setTTL_B Java.java.net.MulticastSocket.setTTL.this.arg0

  # short-hand to call Java method 'public void java.net.MulticastSocket.setTimeToLive(int) throws java.io.IOException':
  #
  public setTimeToLive(arg0 i32) (outcome (unit)) =>
    setTimeToLive_I Java.java.net.MulticastSocket.setTimeToLive.this.arg0