📄 posp.java
字号:
package ergo.server;
// $Id: POSP.java,v 1.3 1999/08/13 01:18:09 sigue Exp $
/*
* Copyright (C) 1999 Carl L. Gay and Antranig M. Basman.
* See the file copyright.txt, distributed with this software,
* for further information.
*
* Portions of this file copyright (C) 1992, 1995 I.NET Technologies Inc.
*
* The portions of this file that are copyrighted by I.NET
* Technologies Inc. are subject to the following copyright.
*
* Copyright (C) 1992, 1995 I.NET Technologies Inc.
* All rights reserved. License is hereby given for the use of
* this material to develop graphics user interface programs
* ("client programs") for the graphic interpretation of data
* stored on or transmitted by the Internet Go Server. Any
* other use of this material without the prior written consent
* of I.NET Technologies Inc. is expressly prohibited.
*/
// Piece-Of-Shit Protocol
class POSP {
public static final int UNKNOWN = 0;
public static final int AUTOMAT = 35; /* Automatch anouncement*/
public static final int AUTOASK = 36; /* Automatch accept */
public static final int CHOICES = 38; /* game choices */
public static final int CLIVRFY = 41; /* Client verify message */
public static final int BEEP = 2; /* \7 telnet */
public static final int BOARD = 3; /* Board being drawn */
public static final int DOWN = 4; /* The server is going down */
public static final int ERROR = 5; /* An error reported */
public static final int FIL = 6; /* File being sent */
public static final int GAMES = 7; /* Games listing */
public static final int HELP = 8; /* Help file */
public static final int INFO = 9; /* Generic info */
public static final int LAST = 10; /* Last command */
public static final int KIBITZ = 11; /* Kibitz strings */
public static final int LOAD = 12; /* Loading a game */
public static final int LOOK_M = 13; /* Look */
public static final int MESSAGE = 14; /* Message lising */
public static final int MOVE = 15; /* Move #:(B) A1 */
public static final int OBSERVE = 16; /* Observe report */
public static final int PROMPT = 1; /* A Prompt (never) */
public static final int REFRESH = 17; /* Refresh of a board */
public static final int SAVED = 18; /* Stored command */
public static final int SAY = 19; /* Say string */
public static final int SCORE_M = 20; /* Score report */
public static final int SGF_M = 34; /* SGF variation */
public static final int SHOUT = 21; /* Shout string */
public static final int SHOW = 29; /* Shout string */
public static final int STATUS = 22; /* Current Game status */
public static final int STORED = 23; /* Stored games */
public static final int TEACH = 33; /* teaching game */
public static final int TELL = 24; /* Tell string */
public static final int DOT = 40; /* your . string */
public static final int THIST = 25; /* Thist report */
public static final int TIM = 26; /* times command */
public static final int TRANS = 30; /* Translation info */
public static final int TTT_BOARD = 37; /* tic tac toe */
public static final int WHO = 27; /* who command */
public static final int UNDO = 28; /* Undo report */
public static final int USER = 42; /* Long user report <-- last */
public static final int VERSION = 39; /* IGS VERSION: IGS entry on %02d - %02d - %04d\r\n
comes out just as the last piece of info
after verification of the password.
mm - dd - yyyy <== last Message Type value */
public static final int YELL = 32; /* Channel yelling */
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -