java.lang.Object
com.itemis.jscdlib.discovery.JScdGpgConfSocketDiscovery
- All Implemented Interfaces:
JScdSocketDiscovery
Uses gpgconf to find out the socket dir. Also supports a fallback if not possible.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an instance. -
Method Summary
-
Constructor Details
-
JScdGpgConfSocketDiscovery
Create an instance.- Parameters:
fallback- Use this instance if it is not possible to find out via gpgconf.
-
-
Method Details
-
discover
- Specified by:
discoverin interfaceJScdSocketDiscovery- Returns:
- A valid
Pathto scdaemon's socket file.
-