Connector
The Connector
is a
Protocol
that defines the low-level
interface to a mediated communication channel or object store.
The Connector
methods operate
of bytes
of data and keys which are tuples of metadata that can
identify a unique object.
The protocol is as follows:
Implementing a custom
Connector
requires creating a class which implements the above methods. Note that
the custom class does not need to inherit from
Connector
because it is a
Protocol
.
Many Connector
implementations
are provided in the proxystore.connectors
module,
and users can easily create their own.
A Connector
instance is used
by the Store
to interact with the store.