DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Attributes | List of all members
Deveel.Data.Protocol.ProtocolConstants Class Reference

Constants used in the database communication protocol. More...

Public Attributes

const int Acknowledgement = 5
 Sent as an acknowledgement to a command. More...
 
const int DatabaseNotFound = 7
 The specified database was not found. More...
 
const int UserAuthenticationPassed = 10
 Sent if login passed. More...
 
const int UserAuthenticationFailed = 15
 Sent if login failed because username or password were invalid. More...
 
const int Success = 20
 Operation was successful. More...
 
const int Failed = 25
 Operation failed (followed by a UTF String error message). More...
 
const int Exception = 30
 Operation threw an exception. More...
 
const int AuthenticationError = 35
 There was an authentication error. More...
 
const int ChangeDatabase = 40
 Changes the current database for the session. More...
 
const int Query = 50
 Query sent to the server for processing. More...
 
const int DisposeResult = 55
 Disposes the server-side resources associated with a result. More...
 
const int ResultSection = 60
 Requests a section of a result from the server. More...
 
const int StreamableObjectSection = 61
 Requests a section of a streamable object from the server. More...
 
const int DisposeStreamableObject = 62
 Disposes of the resources associated with a streamable object on the server. More...
 
const int PushStreamableObjectPart = 63
 For pushing a part of a streamable object onto the server from the client. More...
 
const int Ping = 65
 Ping command. More...
 
const int Close = 70
 Closes the protocol stream. More...
 
const int DatabaseEvent = 75
 Denotes an event from the database (trigger, etc). More...
 
const int ServerRequest = 80
 Denotes a server side request for information. More...
 

Detailed Description

Constants used in the database communication protocol.

Definition at line 23 of file ProtocolConstants.cs.

Member Data Documentation

const int Deveel.Data.Protocol.ProtocolConstants.Acknowledgement = 5

Sent as an acknowledgement to a command.

Definition at line 27 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.AuthenticationError = 35

There was an authentication error.

A command couldn't be executed because the user does not have enough rights.

Definition at line 66 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.ChangeDatabase = 40

Changes the current database for the session.

Definition at line 77 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.Close = 70

Closes the protocol stream.

Definition at line 119 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.DatabaseEvent = 75

Denotes an event from the database (trigger, etc).

Definition at line 124 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.DatabaseNotFound = 7

The specified database was not found.

Definition at line 32 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.DisposeResult = 55

Disposes the server-side resources associated with a result.

Definition at line 87 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.DisposeStreamableObject = 62

Disposes of the resources associated with a streamable object on the server.

Definition at line 103 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.Exception = 30

Operation threw an exception.

Definition at line 58 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.Failed = 25

Operation failed (followed by a UTF String error message).

Definition at line 52 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.Ping = 65

Ping command.

Definition at line 114 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.PushStreamableObjectPart = 63

For pushing a part of a streamable object onto the server from the client.

Definition at line 108 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.Query = 50

Query sent to the server for processing.

Definition at line 82 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.ResultSection = 60

Requests a section of a result from the server.

Definition at line 92 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.ServerRequest = 80

Denotes a server side request for information.

For example, a request for a part of a streamable object.

Definition at line 132 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.StreamableObjectSection = 61

Requests a section of a streamable object from the server.

Definition at line 97 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.Success = 20

Operation was successful.

Definition at line 47 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.UserAuthenticationFailed = 15

Sent if login failed because username or password were invalid.

Definition at line 42 of file ProtocolConstants.cs.

const int Deveel.Data.Protocol.ProtocolConstants.UserAuthenticationPassed = 10

Sent if login passed.

Definition at line 37 of file ProtocolConstants.cs.


The documentation for this class was generated from the following file: