view src/main/java/nl/cwi/monetdb/mcl/protocol/ServerResponses.java @ 68:86967be24645 embedded

Ready to start testing the old mapi connection. After passing the tests. The embedded integration will be very straightforward.
author Pedro Ferreira <pedro.ferreira@monetdbsolutions.com>
date Wed, 07 Dec 2016 15:59:27 +0100 (2016-12-07)
parents 6325594f01af
children 2b5e32efb1a4
line wrap: on
line source
package nl.cwi.monetdb.mcl.protocol;

/**
 * Created by ferreira on 11/30/16.
 */
public enum ServerResponses {

    /* Please don't change the order */

    /** "there is currently no line", or the the type is unknown is represented by UNKNOWN */
    UNKNOWN,
    /** a line starting with ! indicates ERROR */
    ERROR,
    /** a line starting with % indicates HEADER */
    HEADER,
    /** a line starting with [ indicates RESULT */
    RESULT,
    /** a line which matches the pattern of prompt1 is a PROMPT */
    PROMPT,
    /** a line which matches the pattern of prompt2 is a MORE */
    MORE,
    /** a line starting with &amp; indicates the start of a header block */
    SOHEADER,
    /** a line starting with ^ indicates REDIRECT */
    REDIRECT,
    /** a line starting with # indicates INFO */
    INFO
}