パッケージ org.aiwolf.server.net

クラス TcpipServer

java.lang.Object
org.aiwolf.server.net.TcpipServer
すべての実装されたインタフェース:
GameServer

public class TcpipServer extends Object implements GameServer
Game server which communicates with clients via TCP/IP connections.
作成者:
tori and otsuki
  • フィールド詳細

    • port

      protected int port
      Server Port
    • limit

      protected int limit
      connection limit
    • isWaitForClient

      protected boolean isWaitForClient
    • socketAgentMap

      protected BidiMap<Socket,Agent> socketAgentMap
    • gameData

      protected GameData gameData
      Current game data
    • gameSetting

      protected GameSetting gameSetting
      Game Setting
    • nameMap

      protected Map<Agent,String> nameMap
    • serverListenerSet

      protected Set<ServerListener> serverListenerSet
    • lastTalkIdxMap

      protected Map<Agent,Integer> lastTalkIdxMap
    • lastWhisperIdxMap

      protected Map<Agent,Integer> lastWhisperIdxMap
    • serverSocket

      protected ServerSocket serverSocket
    • timeLimit

      protected int timeLimit
      Time limit for waiting request
  • コンストラクタの詳細

    • TcpipServer

      public TcpipServer(int port, int limit, GameSetting gameSetting)
      パラメータ:
      port -
      limit -
  • メソッドの詳細