GroupList Event

Fired while group data transfers (during group listings).

Syntax

public class DefaultNntpEventListener implements NntpEventListener {
  ...
  public void groupList(NntpGroupListEvent e) {}
  ...
}

public class NntpGroupListEvent {
  public String group;
  public long firstArticle;
  public long lastArticle;
  public boolean canPost;
}

Remarks

The GroupList event is fired for every group reported by the NewsServer when the ListGroups or ListNewGroups method is called.

The Group parameter shows the name of the group.

The FirstArticle and LastArticle parameters contain the article numbers for the first and last articles in the group.

The CanPost is True or False depending on whether article posting is allowed in the group specified by Group.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Java Edition - Version 20.0 [Build 8307]