add SigarVersion getter

This commit is contained in:
Doug MacEachern committed 2009-04-29 10:51:55 -07:00
1 parent a84788f1a0
commit 96ca3970e1
2 files changed
+6

No files matched your search

@@ -959,6 +959,10 @@ public class Sigar implements SigarProxy {
*/
public native String getFQDN() throws SigarException;
public SigarVersion getSigarVersion() {
return new SigarVersion();
}
/**
* Enabling logging in the native Sigar code.
* This method will hook log4j into the Sigar
@@ -172,5 +172,7 @@ public interface SigarProxy {
public NetInfo getNetInfo() throws SigarException;
public SigarVersion getSigarVersion();
public String getFQDN() throws SigarException;
}