soc.server.genericServer
Class Server.ConnVersionCounter

java.lang.Object
  extended by soc.server.genericServer.Server.ConnVersionCounter
All Implemented Interfaces:
java.lang.Comparable<Server.ConnVersionCounter>
Enclosing class:
Server

private static class Server.ConnVersionCounter
extends java.lang.Object
implements java.lang.Comparable<Server.ConnVersionCounter>

Hold info about 1 version of connected clients; for use in Server.cliVersionsConnected.

Since:
1.1.06

Field Summary
 int cliCount
           
 int vers
           
 
Constructor Summary
Server.ConnVersionCounter(int version)
           
 
Method Summary
 int compareTo(Server.ConnVersionCounter cvc)
           
 boolean equals(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vers

public final int vers

cliCount

public int cliCount
Constructor Detail

Server.ConnVersionCounter

public Server.ConnVersionCounter(int version)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(Server.ConnVersionCounter cvc)
Specified by:
compareTo in interface java.lang.Comparable<Server.ConnVersionCounter>