Class Subscription

java.lang.Object
org.sonews.feed.Subscription

public class Subscription extends Object
For every group that is synchronized with or from a remote newsserver a Subscription instance exists.
Since:
sonews/0.5.0
Author:
Christian Lins
  • Constructor Details

    • Subscription

      public Subscription(String host, int port, int feedtype, String group)
  • Method Details

    • getAll

      public static List<Subscription> getAll()
      Returns:
      List of all groups this server handles.
    • equals

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

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

      public int getFeedtype()
    • getGroup

      public String getGroup()
    • getHost

      public String getHost()
    • getPort

      public int getPort()