Interface ProtocolConstants


public interface ProtocolConstants
Constants used in the JDBC database communication protocol.
Author:
Tobias Downer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Sent as an acknowledgement to a command.
    static final int
    There was an authentication error.
    static final int
    Closes the protocol stream.
    static final int
    Denotes an event from the database (trigger, etc).
    static final int
    Disposes the server-side resources associated with a result.
    static final int
    Disposes of the resources associated with a streamable object on the server.
    static final int
    Operation threw an exception.
    static final int
    Operation failed (followed by a UTF String error message).
    static final int
    Ping command.
    static final int
    For pushing a part of a streamable object onto the server from the client.
    static final int
    Query sent to the server for processing.
    static final int
    Requests a section of a result from the server.
    static final int
    Denotes a server side request for information.
    static final int
    Requests a section of a streamable object from the server.
    static final int
    Operation was successful.
    static final int
    Sent if login failed because username or password were invalid.
    static final int
    Sent if login passed.
  • Field Details

    • ACKNOWLEDGEMENT

      static final int ACKNOWLEDGEMENT
      Sent as an acknowledgement to a command.
      See Also:
    • USER_AUTHENTICATION_PASSED

      static final int USER_AUTHENTICATION_PASSED
      Sent if login passed.
      See Also:
    • USER_AUTHENTICATION_FAILED

      static final int USER_AUTHENTICATION_FAILED
      Sent if login failed because username or password were invalid.
      See Also:
    • SUCCESS

      static final int SUCCESS
      Operation was successful.
      See Also:
    • FAILED

      static final int FAILED
      Operation failed (followed by a UTF String error message).
      See Also:
    • EXCEPTION

      static final int EXCEPTION
      Operation threw an exception.
      See Also:
    • AUTHENTICATION_ERROR

      static final int AUTHENTICATION_ERROR
      There was an authentication error. A query couldn't be executed because the user does not have enough rights.
      See Also:
    • QUERY

      static final int QUERY
      Query sent to the server for processing.
      See Also:
    • DISPOSE_RESULT

      static final int DISPOSE_RESULT
      Disposes the server-side resources associated with a result.
      See Also:
    • RESULT_SECTION

      static final int RESULT_SECTION
      Requests a section of a result from the server.
      See Also:
    • STREAMABLE_OBJECT_SECTION

      static final int STREAMABLE_OBJECT_SECTION
      Requests a section of a streamable object from the server.
      See Also:
    • DISPOSE_STREAMABLE_OBJECT

      static final int DISPOSE_STREAMABLE_OBJECT
      Disposes of the resources associated with a streamable object on the server.
      See Also:
    • PUSH_STREAMABLE_OBJECT_PART

      static final int PUSH_STREAMABLE_OBJECT_PART
      For pushing a part of a streamable object onto the server from the client.
      See Also:
    • PING

      static final int PING
      Ping command.
      See Also:
    • CLOSE

      static final int CLOSE
      Closes the protocol stream.
      See Also:
    • DATABASE_EVENT

      static final int DATABASE_EVENT
      Denotes an event from the database (trigger, etc).
      See Also:
    • SERVER_REQUEST

      static final int SERVER_REQUEST
      Denotes a server side request for information. For example, a request for a part of a streamable object.
      See Also: