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: 587 $, $Date: 2005-01-12 19:47:40 +0100 (mer., 12 janv. 2005) $
- 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 getChannels()
setChannels
public void setChannels(List<ChannelInfo> channels)
getPing
public long getPing()
setPing
public void setPing(long ping)
Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.