Skip to main content
Client for remote DPF connection. A Client instance is always associated to a DPF server process. The corresponding server needs to run so that the client instance can then be correctly used. This client allows to create DPF objects on a remote server. Inherits from:

Members

Friends

Public functions

Function Client

Create Client object from known ip and port. Parameters:
  • std::string const & ip: [in] server ip
  • std::string const & port: [in] server port
Return type:

Function Client

Create Client from known ip, port and library handle. Parameters:
  • std::string const & ip: [in] server ip
  • std::string const & port: [in] server port
  • LibraryHandle const & library_handle: [in] the library_handle API will be used
Return type:

Function Client

Create Client from known address. Parameters:
  • std::string const & address: [in] string with ‘ip::port’ format.
Return type:

Function Client

Create Client from known address and library handle. Parameters:
  • std::string const & address: [in] string with ‘ip::port’ format.
  • LibraryHandle const & library_handle: [in] the library_handle API will be used
Return type:

Function Client

Parameters:
  • Client const &
Return type:

Function Client

Parameters:
  • Client &&
Return type:

Function operator=

Parameters:
  • Client const &
Return type: Client &

Function operator=

Parameters:
  • Client &&
Return type: Client &

Function ~Client

Return type:

Function internalObj

Return type: opaque::DpfObject *const

Function getChannelAddress

Returns: Address string with ‘ip::port’ format. Return type: std::string

Function getProtocolName

Returns: Protocol’s name. Return type: std::string

Function getOrStartLocalServer

If it doesn’t exist yet, a local server is started. This local server can then be connected to by another server (usually used for bidirectional gRPC connections). Parameters: Return type: bool

Function callAPI

Return type: so::API const *

Public static functions

Function emptyClient

Create an empty client. Returns: Empty Client Return type: Client