net.barkerjr.gameserver.valve
Class GoldSourceServerList

java.lang.Object
  extended by net.barkerjr.gameserver.Base
      extended by net.barkerjr.gameserver.valve.ValveServerList<GoldSourceServer>
          extended by net.barkerjr.gameserver.valve.GoldSourceServerList
All Implemented Interfaces:
Iterable<GoldSourceServer>

public class GoldSourceServerList
extends ValveServerList<GoldSourceServer>

Fetches lists of servers from the master servers provided by Valve.

Since:
2008-02-03
Author:
BarkerJr

Nested Class Summary
 
Nested classes/interfaces inherited from class net.barkerjr.gameserver.valve.ValveServerList
ValveServerList.Region, ValveServerList.ServerIterator, ValveServerList.Type
 
Field Summary
 
Fields inherited from class net.barkerjr.gameserver.valve.ValveServerList
empty, full, gameDir, linux, map, noPlayers, notApplicationId, proxy, region, secure, type, whitelisted
 
Fields inherited from class net.barkerjr.gameserver.Base
listeners
 
Constructor Summary
GoldSourceServerList()
          Initializes the list for Gold Source servers
 
Method Summary
 GoldSourceServer loadServer(InetSocketAddress address)
          Loads a server for the given address
 
Methods inherited from class net.barkerjr.gameserver.valve.ValveServerList
iterator, iterator
 
Methods inherited from class net.barkerjr.gameserver.Base
addListener, handleError, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoldSourceServerList

public GoldSourceServerList()
Initializes the list for Gold Source servers

Since:
2008-02-03
Method Detail

loadServer

public GoldSourceServer loadServer(InetSocketAddress address)
Description copied from class: ValveServerList
Loads a server for the given address

Specified by:
loadServer in class ValveServerList<GoldSourceServer>
Parameters:
address - the address of the server
Returns:
a server for the given address
Since:
2008-02-03