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
Exibir arquivo Open project: nativex/fluentcassandra Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Method Description
CheckWasDisposed ( ) : void

InitTransportAndClient ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Connection() public method

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

Connection() public method

public Connection ( Server server, IConnectionBuilder builder ) : System
server Server
builder IConnectionBuilder
return System

Dispose() public method

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

Dispose() protected method

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.
return void

Open() public method

public Open ( ) : void
return void

SetCqlVersion() public method

public SetCqlVersion ( string cqlVersion ) : void
cqlVersion string
return void

SetKeyspace() public method

public SetKeyspace ( string keyspace ) : void
keyspace string
return void

ToString() public method

public ToString ( ) : string
return string