C# 클래스 MongoDB.Driver.Connection

Description of Connection.
파일 보기 프로젝트 열기: dannycoates/mongo-clr4-driver 1 사용 예제들

공개 메소드들

메소드 설명
Authenticate ( string username, string password, string dbname ) : bool
Call ( Action msgWriter ) : ReplyMessage

Send a message to the server and receive a response

Close ( ) : void
Dispose ( ) : void
Say ( Action msgWriter, bool safe = false ) : void

Send a message to the server without receiving a response

비공개 메소드들

메소드 설명
AddHost ( string name, int port ) : void
CheckIn ( System.Net.Sockets.Port port ) : void
CheckOut ( System.TimeSpan timeout ) : System.Net.Sockets.Port
Connection ( string host, int port, int min = 1, int max = 10 ) : System
Dispose ( bool disposing ) : void
Hash ( string username, string password ) : string
Open ( ) : void
WithPort ( Action action ) : void

Do something with a port, then return it to the queue

메소드 상세

Authenticate() 공개 메소드

public Authenticate ( string username, string password, string dbname ) : bool
username string
password string
dbname string
리턴 bool

Call() 공개 메소드

Send a message to the server and receive a response
public Call ( Action msgWriter ) : ReplyMessage
msgWriter Action
리턴 MongoDB.Driver.IO.ReplyMessage

Close() 공개 메소드

public Close ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Say() 공개 메소드

Send a message to the server without receiving a response
public Say ( Action msgWriter, bool safe = false ) : void
msgWriter Action
safe bool if true, ensures the message executed without error on the server
리턴 void