C# Class ElasticSearch.Client.Thrift.ThriftConnection

Inheritance: IConnection, IDisposable
Mostrar archivo Open project: PhonoClick/NEST

Public Methods

Method Description
Close ( ) : void

DecodeStr ( byte bytes ) : string
Delete ( string path, Action callback ) : void
DeleteSync ( string path ) : ConnectionStatus
Dispose ( ) : void

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

Get ( string path, Action callback ) : void
GetSync ( string path ) : ConnectionStatus
Open ( ) : void

Post ( string path, string data, Action callback ) : void
PostSync ( string path, string data ) : ConnectionStatus
ThriftConnection ( IConnectionSettings connectionSettings ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Private Methods

Method Description
GetClient ( ) : ElasticSearch.Thrift.Rest.Client

Method Details

Close() public method

public Close ( ) : void
return void

DecodeStr() public method

public DecodeStr ( byte bytes ) : string
bytes byte
return string

Delete() public method

public Delete ( string path, Action callback ) : void
path string
callback Action
return void

DeleteSync() public method

public DeleteSync ( string path ) : ConnectionStatus
path string
return ConnectionStatus

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

Get() public method

public Get ( string path, Action callback ) : void
path string
callback Action
return void

GetSync() public method

public GetSync ( string path ) : ConnectionStatus
path string
return ConnectionStatus

Open() public method

public Open ( ) : void
return void

Post() public method

public Post ( string path, string data, Action callback ) : void
path string
data string
callback Action
return void

PostSync() public method

public PostSync ( string path, string data ) : ConnectionStatus
path string
data string
return ConnectionStatus

ThriftConnection() public method

public ThriftConnection ( IConnectionSettings connectionSettings ) : System
connectionSettings IConnectionSettings
return System