DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Protected Member Functions | Properties | List of all members
Deveel.Data.Protocol.EmbeddedServerConnector Class Reference
Inheritance diagram for Deveel.Data.Protocol.EmbeddedServerConnector:
Deveel.Data.Protocol.ServerConnector Deveel.Data.Protocol.IServerConnector Deveel.Data.Protocol.IServerConnector Deveel.Data.Protocol.IConnector Deveel.Data.Protocol.IConnector Deveel.Data.Protocol.LocalDatabaseClient.ServerConnector

Public Member Functions

 EmbeddedServerConnector (IDatabaseHandler handler)
 
override ConnectionEndPoint MakeEndPoint (IDictionary< string, object > properties)
 
- Public Member Functions inherited from Deveel.Data.Protocol.ServerConnector
void Dispose ()
 
ILargeObjectChannel CreateObjectChannel (long objectId)
 
ITriggerChannel CreateTriggerChannel (string triggerName, string objectName, TriggerEventType eventType)
 
void Dispose ()
 

Protected Member Functions

override IServerMessageEnvelope CreateEnvelope (IDictionary< string, object > metadata, IMessage message)
 
- Protected Member Functions inherited from Deveel.Data.Protocol.ServerConnector
 ServerConnector (IDatabaseHandler databaseHandler)
 
virtual void Dispose (bool disposing)
 
void SetAutoCommit (bool value)
 
void SetParameterStyle (QueryParameterStyle parameterStyle)
 
void SetIgnoreIdentifiersCase (bool value)
 
void ChangeState (ConnectorState newState)
 
void OpenConnector (ConnectionEndPoint remoteEndPoint, string databaseName)
 
virtual void OnConnectorOpen ()
 
void CloseConnector ()
 
virtual void OnCloseConnector ()
 
virtual EncryptionData GetEncryptionData ()
 
virtual bool Authenticate (string defaultSchema, string username, string password)
 
virtual bool OnAuthenticated (User user)
 
IQueryResponse[] ExecuteQuery (long commitId, string text, IEnumerable< QueryParameter > parameters)
 
virtual IQueryResponse[] ExecuteQuery (IQuery context, string text, IEnumerable< QueryParameter > parameters)
 
IQueryResponse[] CoreExecuteQuery (IQuery context, string text, IEnumerable< QueryParameter > parameters)
 
int BeginTransaction ()
 
virtual IMessage GetMessage (IMessageEnvelope envelope)
 
void CommitTransaction (int commitId)
 
void RollbackTransaction (int commitId)
 
QueryResultPart GetResultPart (int resultId, int startRow, int countRows)
 
QueryResult GetResult (int resultId)
 
 ServerConnector (IDatabaseHandler handler)
 
void ChangeState (ConnectorState newState)
 
void OpenConnector (ConnectionEndPoint remoteEndPoint, string databaseName)
 
virtual void OnConnectorOpen ()
 
void SetAutoCommit (bool state)
 
void SetIgnoreIdentifiersCase (bool state)
 
void SetParameterStyle (ParameterStyle style)
 
void CloseConnector ()
 
virtual void OnCloseConnector ()
 
virtual EncryptionData GetEncryptionData ()
 
virtual AuthenticatedSession OnAuthenticate (string defaultSchema, string username, string password)
 
virtual void OnTriggerFired (string triggerName, string triggerSource, TriggerEventType eventType, int count)
 
int BeginTransaction ()
 
virtual bool Authenticate (string defaultSchema, string username, string password)
 
long CreateStreamableObject (ReferenceType referenceType, long length)
 
IQueryResponse[] CoreExecuteQuery (string text, IEnumerable< SqlQueryParameter > parameters)
 
virtual IQueryResponse[] ExecuteQuery (string text, IEnumerable< SqlQueryParameter > parameters)
 
QueryResultPart GetResultPart (int resultId, int startRow, int countRows)
 
void DisposeResult (int resultId)
 
void CommitTransaction (int transactionId)
 
void RollbackTransaction (int transactionId)
 
virtual IMessage GetMessage (IMessageEnvelope envelope)
 
virtual IStreamableObjectChannel CreateObjectChannel (long objectId)
 
virtual ITriggerChannel CreateTriggerChannel (string triggerName, string objectName, TriggerEventType eventType)
 
virtual void Dispose (bool disposing)
 

Properties

override ConnectionEndPoint LocalEndPoint [get]
 
- Properties inherited from Deveel.Data.Protocol.ServerConnector
IDatabaseHandler DatabaseHandler [get, private set]
 
IDatabase Database [get, private set]
 
abstract ConnectionEndPoint LocalEndPoint [get]
 
ConnectionEndPoint RemoteEndPoint [get, private set]
 
User User [get, private set]
 
IDictionary< string, object > Metadata [get, private set]
 
ConnectorState CurrentState [get, private set]
 
AuthenticatedSession Session [get, protected set]
 
ILogger Logger [get]
 
- Properties inherited from Deveel.Data.Protocol.IConnector
ConnectorState CurrentState [get]
 
ConnectionEndPoint LocalEndPoint [get]
 

Detailed Description

Definition at line 23 of file EmbeddedServerConnector.cs.

Constructor & Destructor Documentation

Deveel.Data.Protocol.EmbeddedServerConnector.EmbeddedServerConnector ( IDatabaseHandler  handler)
inline

Definition at line 24 of file EmbeddedServerConnector.cs.

25  : base(handler) {
26  }

Member Function Documentation

override IServerMessageEnvelope Deveel.Data.Protocol.EmbeddedServerConnector.CreateEnvelope ( IDictionary< string, object >  metadata,
IMessage  message 
)
inlineprotectedvirtual

Implements Deveel.Data.Protocol.ServerConnector.

Definition at line 36 of file EmbeddedServerConnector.cs.

36  {
37  return EmbeddedMessageEnvelope.Create(metadata, message);
38  }
override ConnectionEndPoint Deveel.Data.Protocol.EmbeddedServerConnector.MakeEndPoint ( IDictionary< string, object >  properties)
inlinevirtual

Implements Deveel.Data.Protocol.ServerConnector.

Definition at line 32 of file EmbeddedServerConnector.cs.

32  {
33  return ConnectionEndPoint.Embedded;
34  }

Property Documentation

override ConnectionEndPoint Deveel.Data.Protocol.EmbeddedServerConnector.LocalEndPoint
get

Definition at line 28 of file EmbeddedServerConnector.cs.


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