.Net SDK
Tokenio.TokenClient.Builder Class Reference

Public Member Functions

 Builder ()
 Creates new builder instance with the defaults initialized. More...
 
Builder HostName (string hostName)
 Sets the host name of the Token Gateway Service to connect to. More...
 
Builder Port (int port)
 Sets the port of the Token Gateway Service to connect to. More...
 
Builder ConnectTo (TokenCluster cluster)
 Sets Token cluster to connect to. More...
 
Builder Timeout (long timeoutMs)
 Sets timeoutMs that is used for the RPC calls. More...
 
Builder WithKeyStore (IKeyStore keyStore)
 Sets the keystore to be used with the SDK. More...
 
Builder KeepAlive (bool keepAlive)
 Sets whether the connection will allow keep-alive pings. More...
 
Builder KeepAliveTime (int keepAliveTimeMs)
 Sets the keep-alive time in milliseconds. More...
 
Builder WithCryptoEngine (ICryptoEngineFactory cryptoEngineFactory)
 Sets the crypto engine to be used with the SDK. More...
 
Builder DeveloperKey (string devKey)
 Sets the developer key to be used with the SDK. More...
 
TokenClient Build ()
 Builds and returns a new TokenClient instance. More...
 

Constructor & Destructor Documentation

◆ Builder()

Tokenio.TokenClient.Builder.Builder ( )
inline

Creates new builder instance with the defaults initialized.

Member Function Documentation

◆ Build()

TokenClient Tokenio.TokenClient.Builder.Build ( )
inline

Builds and returns a new TokenClient instance.

Returns
the TokenClient instance

◆ ConnectTo()

Builder Tokenio.TokenClient.Builder.ConnectTo ( TokenCluster  cluster)
inline

Sets Token cluster to connect to.

Parameters
clusterthe token cluster
Returns
this builder instance

◆ DeveloperKey()

Builder Tokenio.TokenClient.Builder.DeveloperKey ( string  devKey)
inline

Sets the developer key to be used with the SDK.

Parameters
devKeythe developer key
Returns
this builder instance

◆ HostName()

Builder Tokenio.TokenClient.Builder.HostName ( string  hostName)
inline

Sets the host name of the Token Gateway Service to connect to.

Parameters
hostNamethe host name to set

◆ KeepAlive()

Builder Tokenio.TokenClient.Builder.KeepAlive ( bool  keepAlive)
inline

Sets whether the connection will allow keep-alive pings.

Parameters
keepAlivewhether keep-alive is enabled
Returns
this builder instance

◆ KeepAliveTime()

Builder Tokenio.TokenClient.Builder.KeepAliveTime ( int  keepAliveTimeMs)
inline

Sets the keep-alive time in milliseconds.

Parameters
keepAliveTimeMskeep-alive time in milliseconds
Returns
this builder instance

◆ Port()

Builder Tokenio.TokenClient.Builder.Port ( int  port)
inline

Sets the port of the Token Gateway Service to connect to.

Parameters
portthe port number
Returns
this builder instance

◆ Timeout()

Builder Tokenio.TokenClient.Builder.Timeout ( long  timeoutMs)
inline

Sets timeoutMs that is used for the RPC calls.

Parameters
timeoutMsthe RPC call timeoutMs
Returns
this builder instance

◆ WithCryptoEngine()

Builder Tokenio.TokenClient.Builder.WithCryptoEngine ( ICryptoEngineFactory  cryptoEngineFactory)
inline

Sets the crypto engine to be used with the SDK.

Parameters
cryptoEngineFactorythe crypto engine factory to use
Returns
this builder instance

◆ WithKeyStore()

Builder Tokenio.TokenClient.Builder.WithKeyStore ( IKeyStore  keyStore)
inline

Sets the keystore to be used with the SDK.

Parameters
keyStorethe key store to be used
Returns
this builder instance

The documentation for this class was generated from the following file: