DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Connection to the database via the TCP protocol. More...
Package Functions | |
TCPStreamDatabaseInterface (String host, int port, string initial_database) | |
void | ConnectToDatabase () |
Connects to the database. More... | |
Package Functions inherited from Deveel.Data.Client.StreamDatabaseInterface | |
StreamDatabaseInterface (string initial_database) | |
void | Setup (Stream rawin, Stream rawout) |
Sets up the stream connection with the given input/output stream. More... | |
Private Attributes | |
readonly String | host |
The name of the host we are connected to. More... | |
readonly int | port |
The port we are connected to. More... | |
Socket | socket |
The Socket connection. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Deveel.Data.Client.StreamDatabaseInterface | |
override void | SendCommand (byte[] command, int offset, int size) |
override byte[] | ReceiveCommand (int timeout) |
override void | CloseConnection () |
Protected Attributes inherited from Deveel.Data.Client.StreamDatabaseInterface | |
BinaryWriter | output |
The data output stream for the db protocol. More... | |
BinaryReader | input |
The data input stream for the db protocol. More... | |
Connection to the database via the TCP protocol.
Definition at line 25 of file TCPStreamDatabaseInterface.cs.
|
inlinepackage |
Definition at line 41 of file TCPStreamDatabaseInterface.cs.
|
inlinepackage |
Connects to the database.
Definition at line 50 of file TCPStreamDatabaseInterface.cs.
|
private |
The name of the host we are connected to.
Definition at line 29 of file TCPStreamDatabaseInterface.cs.
|
private |
The port we are connected to.
Definition at line 34 of file TCPStreamDatabaseInterface.cs.
|
private |
The Socket connection.
Definition at line 39 of file TCPStreamDatabaseInterface.cs.