public class MasterClientContextBuilder extends Object
MasterClientContext
. This is the
preferred method of creating master client configurations.Modifier and Type | Field and Description |
---|---|
protected ClientContext |
mContext |
protected MasterInquireClient |
mMasterInquireClient |
Constructor and Description |
---|
MasterClientContextBuilder(ClientContext ctx)
Create an instance of a
MasterClientContextBuilder . |
Modifier and Type | Method and Description |
---|---|
MasterClientContext |
build() |
MasterClientContextBuilder |
setMasterInquireClient(MasterInquireClient masterInquireClient)
Set the
MasterInquireClient that the config will use. |
protected ClientContext mContext
protected MasterInquireClient mMasterInquireClient
public MasterClientContextBuilder(ClientContext ctx)
MasterClientContextBuilder
.ctx
- The ClientContext
to base the configuration onpublic MasterClientContextBuilder setMasterInquireClient(MasterInquireClient masterInquireClient)
MasterInquireClient
that the config will use.masterInquireClient
- the master inquire clientpublic MasterClientContext build()
MasterClientContext
Copyright © 2023. All Rights Reserved.