public class ServerList extends XMLRequest implements Iterable<ServerListItem>
Modifier and Type | Class and Description |
---|---|
static class |
ServerList.Filter
Filter in the Servers list.
|
Constructor and Description |
---|
ServerList()
Default constructor
|
ServerList(ServerList.Filter filter)
Constructor with filter
|
Modifier and Type | Method and Description |
---|---|
Iterator<ServerListItem> |
iterator()
Returns an Iterator which can be used to step through the
ServerListItem . |
int |
size()
Returns the total number of items in the server list (active and inactive).
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send, showQuarantineNotification
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public ServerList(ServerList.Filter filter)
filter
- public ServerList()
public Iterator<ServerListItem> iterator()
ServerListItem
.
If this class does not contain a server list this method returns null
iterator
in interface Iterable<ServerListItem>
ServerListItem
or null
in case of an errorpublic int size()
ServerListItem
Copyright © 2019. All rights reserved.