net.jetrix.agent
Class QueryInfo
java.lang.Object
net.jetrix.agent.QueryInfo
public class QueryInfo
- extends Object
Information about a tetrinet server retrieved through the query protocol.
- Version:
- $Revision: 794 $, $Date: 2009-02-17 20:08:39 +0100 (Tue, 17 Feb 2009) $
- Author:
- Emmanuel Bourg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryInfo
public QueryInfo()
getHostname
public String getHostname()
setHostname
public void setHostname(String hostname)
getVersion
public String getVersion()
- Return the version of the server.
setVersion
public void setVersion(String version)
getPlayers
public List<PlayerInfo> getPlayers()
setPlayers
public void setPlayers(List<PlayerInfo> players)
getPlayers
public List getPlayers(String channel)
- Return the list of players in the specified channel.
- Parameters:
channel - the name of the channel
getChannels
public List<ChannelInfo> getChannels()
setChannels
public void setChannels(List<ChannelInfo> channels)
getPing
public long getPing()
setPing
public void setPing(long ping)
Copyright © 2001-2010. All Rights Reserved.