Class NamedChannel

Object
NamedChannel

public final class NamedChannel extends Object
Associates a name with a Channel.
  • Constructor Details

    • NamedChannel

      public NamedChannel(String name, Channel channel)
      Creates a new NamedChannel instance.
      Parameters:
      name - The name associated with the channel.
      channel - The Channel instance.
  • Method Details

    • getName

      public String getName()
      The name associated with the channel.
    • getChannel

      public Channel getChannel()
      The Channel instance.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object