Enum Class GridFlags

java.lang.Object
java.lang.Enum<GridFlags>
appeng.api.networking.GridFlags
All Implemented Interfaces:
Serializable, Comparable<GridFlags>, Constable

public enum GridFlags extends Enum<GridFlags>
Various flags to determine network node behavior.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    cannot carry channels over this node.
    This is used for the outer node of ME-P2P tunnels, which provides the 32-channel connection at both ends of the tunnel.
    This is used for the inner node of ME-P2P tunnels, which connects to the grid that will carry the content of the P2P tunnel compressed into a single channel.
    This node can transmit 32 signals, this should only apply to Tier2 Cable, P2P Tunnels, and Quantum Network Bridges.
    This block is part of a multiblock, used in conjunction with REQUIRE_CHANNEL, and IGridMultiblock see this interface for details.
    Indicates which path might be preferred, this only matters if two routes of equal length exist, ad only changes the order they are processed in.
    import/export buses, terminals, and other devices that use network features, will use this setting.
  • Method Summary

    Modifier and Type
    Method
    Description
    static GridFlags
    Returns the enum constant of this class with the specified name.
    static GridFlags[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • REQUIRE_CHANNEL

      public static final GridFlags REQUIRE_CHANNEL
      import/export buses, terminals, and other devices that use network features, will use this setting.
    • COMPRESSED_CHANNEL

      public static final GridFlags COMPRESSED_CHANNEL
      This is used for the inner node of ME-P2P tunnels, which connects to the grid that will carry the content of the P2P tunnel compressed into a single channel.
    • CANNOT_CARRY

      public static final GridFlags CANNOT_CARRY
      cannot carry channels over this node.
    • CANNOT_CARRY_COMPRESSED

      public static final GridFlags CANNOT_CARRY_COMPRESSED
      This is used for the outer node of ME-P2P tunnels, which provides the 32-channel connection at both ends of the tunnel.
    • DENSE_CAPACITY

      public static final GridFlags DENSE_CAPACITY
      This node can transmit 32 signals, this should only apply to Tier2 Cable, P2P Tunnels, and Quantum Network Bridges.
    • MULTIBLOCK

      public static final GridFlags MULTIBLOCK
      This block is part of a multiblock, used in conjunction with REQUIRE_CHANNEL, and IGridMultiblock see this interface for details.
    • PREFERRED

      public static final GridFlags PREFERRED
      Indicates which path might be preferred, this only matters if two routes of equal length exist, ad only changes the order they are processed in.
  • Method Details

    • values

      public static GridFlags[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GridFlags valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null