Definition at line 30 of file ConnectionClient.cs.
Definition at line 47 of file ConnectionClient.cs.
48 if (connector == null)
49 throw new ArgumentNullException(
"connector");
IMessageProcessor CreateProcessor()
This processes _queries from a client and dispatches the _queries to the database.
DeveelDbConnectionStringBuilder Settings
IClientConnector Connector
Deveel.Data.Client.ConnectionClient.~ConnectionClient |
( |
| ) |
|
|
inlineprivate |
bool Deveel.Data.Client.ConnectionClient.Authenticate |
( |
| ) |
|
|
inline |
Definition at line 202 of file ConnectionClient.cs.
206 if (response == null)
207 throw new InvalidOperationException();
209 return response.Authenticated;
DeveelDbConnectionStringBuilder Settings
IMessage SendMessage(IMessage message)
Definition at line 243 of file ConnectionClient.cs.
int BeginTransaction(System.Data.IsolationLevel isolationLevel)
IsolationLevel MapIsolationLevel(System.Data.IsolationLevel isolationLevel)
int Deveel.Data.Client.ConnectionClient.BeginTransaction |
( |
IsolationLevel |
isolationLevel | ) |
|
|
inline |
Definition at line 261 of file ConnectionClient.cs.
265 if (response == null)
266 throw new InvalidOperationException();
268 return response.CommitId;
IMessage SendMessage(IMessage message)
void Deveel.Data.Client.ConnectionClient.CommitTransaction |
( |
int |
transactionId | ) |
|
|
inline |
Definition at line 271 of file ConnectionClient.cs.
275 if (response == null)
276 throw new InvalidOperationException();
279 throw new DeveelDbServerException("Unable to commit the transaction on the server.", -1, -1);
IMessage SendMessage(IMessage message)
void Deveel.Data.Client.ConnectionClient.Connect |
( |
| ) |
|
|
inline |
Definition at line 157 of file ConnectionClient.cs.
174 if (response == null)
177 if (!response.Opened)
178 throw new DeveelDbServerException("Was not able to open the connection on the server.", -1, -1);
180 if (response.IsEncryted)
IMessageProcessor CreateProcessor()
This processes _queries from a client and dispatches the _queries to the database.
DeveelDbConnectionStringBuilder Settings
ConnectionEndPoint MakeRemoteEndPoint()
QueryParameterStyle ParameterStyle
IMessage SendMessage(IMessage message)
IClientConnector Connector
ConnectionEndPoint LocalEndPoint
IClientConnector CreateConnector()
ConnectionEndPoint remoteEndPoint
bool IgnoreIdentifiersCase
Definition at line 69 of file ConnectionClient.cs.
130 throw new NotImplementedException();
IClientConnector Connector
Defines the contract for the configuration node of a component within the system or of the system its...
void Deveel.Data.Client.ConnectionClient.Disconnect |
( |
| ) |
|
|
inline |
Definition at line 187 of file ConnectionClient.cs.
192 if (response == null)
193 throw new InvalidOperationException();
196 throw new DeveelDbServerException("Unable to close the connection on the server.", -1, -1);
IMessage SendMessage(IMessage message)
void Deveel.Data.Client.ConnectionClient.Dispose |
( |
| ) |
|
|
inline |
void Deveel.Data.Client.ConnectionClient.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprivate |
void Deveel.Data.Client.ConnectionClient.DisposeLargeObject |
( |
long |
objId | ) |
|
|
inline |
Definition at line 294 of file ConnectionClient.cs.
298 if (response == null)
299 throw new InvalidOperationException();
302 throw new InvalidOperationException("Unable to dispose the large
object on the server.");
IMessage SendMessage(IMessage message)
void Deveel.Data.Client.ConnectionClient.DisposeResult |
( |
int |
resultId | ) |
|
|
inline |
Definition at line 232 of file ConnectionClient.cs.
236 if (response == null)
237 throw new InvalidOperationException();
240 throw new DeveelDbServerException(null, -1, -1);
IMessage SendMessage(IMessage message)
Definition at line 212 of file ConnectionClient.cs.
216 if (response == null)
217 throw new InvalidOperationException();
219 return response.QueryResponse;
IMessage SendMessage(IMessage message)
QueryResultPart Deveel.Data.Client.ConnectionClient.GetResultPart |
( |
int |
resultId, |
|
|
int |
rowIndex, |
|
|
int |
count |
|
) |
| |
|
inline |
Definition at line 222 of file ConnectionClient.cs.
226 if (response == null)
227 throw new InvalidOperationException();
229 return response.Part;
IMessage SendMessage(IMessage message)
Definition at line 146 of file ConnectionClient.cs.
147 var properties =
new Dictionary<string, object>();
148 var en = ((IDictionary)
Settings).GetEnumerator();
149 while (en.MoveNext()) {
150 var current = en.Entry;
151 properties.Add((
string)current.Key, current.Value);
DeveelDbConnectionStringBuilder Settings
IClientConnector Connector
ConnectionEndPoint MakeEndPoint(IDictionary< string, object > properties)
Definition at line 248 of file ConnectionClient.cs.
249 if (isolationLevel ==
System.Data.IsolationLevel.Serializable)
251 if (isolationLevel ==
System.Data.IsolationLevel.Snapshot)
253 if (isolationLevel ==
System.Data.IsolationLevel.ReadCommitted)
255 if (isolationLevel ==
System.Data.IsolationLevel.ReadUncommitted)
258 throw new NotSupportedException(
String.Format(
"Isolation Level '{0}' not supported by DeveelDB", isolationLevel));
A long string in the system.
void Deveel.Data.Client.ConnectionClient.RollbackTransaction |
( |
int |
transactionId | ) |
|
|
inline |
Definition at line 282 of file ConnectionClient.cs.
286 if (response == null)
287 throw new InvalidOperationException();
290 throw new DeveelDbServerException("Unable to rollback the transaction on the server.", -1, -1);
IMessage SendMessage(IMessage message)
Definition at line 133 of file ConnectionClient.cs.
135 var response =
Processor.ProcessMessage(envelope);
136 if (response == null)
137 throw new InvalidOperationException(
"The processor returned no response.");
139 if (response.Error != null)
140 throw new DeveelDbServerException(response.Error.ErrorMessage, response.Error.ErrorClass, response.Error.ErrorCode);
143 return response.Message;
This processes _queries from a client and dispatches the _queries to the database.
IDictionary< string, object > serverMetadata
IClientConnector Connector
IMessageEnvelope CreateEnvelope(IDictionary< string, object > metadata, IMessage message)
IDictionary<string, object> Deveel.Data.Client.ConnectionClient.serverMetadata |
|
private |
bool Deveel.Data.Client.ConnectionClient.IsClosed |
|
getprivate set |
bool Deveel.Data.Client.ConnectionClient.OwnsConnector |
|
getsetprivate |
string Deveel.Data.Client.ConnectionClient.ServerVersion |
|
getprivate set |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Client/ConnectionClient.cs