C# Class FluentCassandra.Connections.Connection

Borrowed much of the layout from NoRM, I just couldn't resist it was very elegant in its design.
Inheritance: IConnection, IDisposable
Afficher le fichier Open project: nativex/fluentcassandra Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void

Connection ( Server server, ConnectionType connectionType, int bufferSize ) : System

Connection ( Server server, IConnectionBuilder builder ) : System

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Open ( ) : void

SetCqlVersion ( string cqlVersion ) : void

SetKeyspace ( string keyspace ) : void

ToString ( ) : string

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Méthode Description
CheckWasDisposed ( ) : void

InitTransportAndClient ( ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Connection() public méthode

public Connection ( Server server, ConnectionType connectionType, int bufferSize ) : System
server Server
connectionType ConnectionType
bufferSize int
Résultat System

Connection() public méthode

public Connection ( Server server, IConnectionBuilder builder ) : System
server Server
builder IConnectionBuilder
Résultat System

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

Open() public méthode

public Open ( ) : void
Résultat void

SetCqlVersion() public méthode

public SetCqlVersion ( string cqlVersion ) : void
cqlVersion string
Résultat void

SetKeyspace() public méthode

public SetKeyspace ( string keyspace ) : void
keyspace string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string