C# Класс FluentCassandra.Connections.Connection

Borrowed much of the layout from NoRM, I just couldn't resist it was very elegant in its design.
Наследование: IConnection, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Приватные методы

Метод Описание
CheckWasDisposed ( ) : void

InitTransportAndClient ( ) : void

Описание методов

Close() публичный Метод

public Close ( ) : void
Результат void

Connection() публичный Метод

public Connection ( Server server, ConnectionType connectionType, int bufferSize ) : System
server Server
connectionType ConnectionType
bufferSize int
Результат System

Connection() публичный Метод

public Connection ( Server server, IConnectionBuilder builder ) : System
server Server
builder IConnectionBuilder
Результат System

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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.
Результат void

Open() публичный Метод

public Open ( ) : void
Результат void

SetCqlVersion() публичный Метод

public SetCqlVersion ( string cqlVersion ) : void
cqlVersion string
Результат void

SetKeyspace() публичный Метод

public SetKeyspace ( string keyspace ) : void
keyspace string
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string