Class MindustryNet

java.lang.Object
mindustry.net.Net
com.xpdustry.claj.client.MindustryNet

public class MindustryNet extends mindustry.net.Net
Modified Net that handles CLaJ broadcast system.
  • Nested Class Summary

    Nested classes/interfaces inherited from class mindustry.net.Net

    mindustry.net.Net.NetProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    broadcast(MindustryClajProxy proxy, Iterable<mindustry.net.NetConnection> connections, mindustry.net.NetConnection except, Object object, boolean reliable)
     
     
    void
    send(Object object, boolean reliable)
     
    void
    send(Object object, Iterable<mindustry.net.NetConnection> connections, boolean reliable)
     
    void
    sendExcept(mindustry.net.NetConnection except, Object object, boolean reliable)
     

    Methods inherited from class mindustry.net.Net

    active, client, closeServer, connect, disconnect, discoverServers, dispose, getConnectFilter, getConnections, getCurrentStream, getPacketId, handleClient, handleClientReceived, handleException, handleServer, handleServerReceived, host, newPacket, pingHost, registerPacket, reset, server, setClientConnected, setClientLoaded, setConnectFilter, showError

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MindustryNet

      public MindustryNet()
  • Method Details

    • send

      public void send(Object object, boolean reliable)
      Overrides:
      send in class mindustry.net.Net
    • send

      public void send(Object object, Iterable<mindustry.net.NetConnection> connections, boolean reliable)
    • sendExcept

      public void sendExcept(mindustry.net.NetConnection except, Object object, boolean reliable)
      Overrides:
      sendExcept in class mindustry.net.Net
    • getProxy

      public MindustryClajProxy getProxy()
    • broadcast

      public void broadcast(MindustryClajProxy proxy, Iterable<mindustry.net.NetConnection> connections, mindustry.net.NetConnection except, Object object, boolean reliable)