C# 클래스 MongoDB.Driver.PairedConnection

Connection object that connects to a replica pair.
상속: Connection
파일 보기 프로젝트 열기: sdether/mongodb-csharp 1 사용 예제들

공개 메소드들

메소드 설명
Open ( ) : void
PairedConnection ( String leftHost, String rightHost ) : System
PairedConnection ( String leftHost, int leftPort, String rightHost, int rightPort ) : System
PairedConnection ( String leftHost, int leftPort, String rightHost, int rightPort, bool slaveOk ) : System
QueryMaster ( ) : Document

비공개 메소드들

메소드 설명
SwapHosts ( ) : void
TryOpen ( ) : void

메소드 상세

Open() 공개 메소드

public Open ( ) : void
리턴 void

PairedConnection() 공개 메소드

public PairedConnection ( String leftHost, String rightHost ) : System
leftHost String
rightHost String
리턴 System

PairedConnection() 공개 메소드

public PairedConnection ( String leftHost, int leftPort, String rightHost, int rightPort ) : System
leftHost String
leftPort int
rightHost String
rightPort int
리턴 System

PairedConnection() 공개 메소드

public PairedConnection ( String leftHost, int leftPort, String rightHost, int rightPort, bool slaveOk ) : System
leftHost String
leftPort int
rightHost String
rightPort int
slaveOk bool
리턴 System

QueryMaster() 공개 메소드

public QueryMaster ( ) : Document
리턴 Document