/**
* @return the version string.
*/
- public String getVersion();
+ String getVersion();
/**
* Checks if given version is supported by this ILTTngControlService implementation.
* @param version The version to check
* @return <code>true</code> if version is supported else <code>false</code>
*/
- public boolean isVersionSupported(String version);
+ boolean isVersionSupported(String version);
/**
* Retrieves the existing sessions names from the node.
* @throws ExecutionException
* If the command fails
*/
- public String[] getSessionNames(IProgressMonitor monitor)
+ String[] getSessionNames(IProgressMonitor monitor)
throws ExecutionException;
/**
* @throws ExecutionException
* If the command fails
*/
- public ISessionInfo getSession(String sessionName, IProgressMonitor monitor)
+ ISessionInfo getSession(String sessionName, IProgressMonitor monitor)
throws ExecutionException;
/**
* @throws ExecutionException
* If the command fails
*/
- public List<IBaseEventInfo> getKernelProvider(IProgressMonitor monitor)
+ List<IBaseEventInfo> getKernelProvider(IProgressMonitor monitor)
throws ExecutionException;
/**
* @throws ExecutionException
* If the command fails
*/
- public List<IUstProviderInfo> getUstProvider(IProgressMonitor monitor)
+ List<IUstProviderInfo> getUstProvider(IProgressMonitor monitor)
throws ExecutionException;
/**
* @throws ExecutionException
* If the command fails
*/
- public ISessionInfo createSession(String sessionName, String sessionPath, IProgressMonitor monitor) throws ExecutionException;
+ ISessionInfo createSession(String sessionName, String sessionPath, IProgressMonitor monitor) throws ExecutionException;
/**
* Creates a session with given session name and location.
* @throws ExecutionException
* If the command fails
*/
- public ISessionInfo createSession(String sessionName, String networkUrl, String controlUrl, String dataUrl, IProgressMonitor monitor) throws ExecutionException;
+ ISessionInfo createSession(String sessionName, String networkUrl, String controlUrl, String dataUrl, IProgressMonitor monitor) throws ExecutionException;
/**
* Destroys a session with given session name.
* @throws ExecutionException
* If the command fails
*/
- public void destroySession(String sessionName, IProgressMonitor monitor)
+ void destroySession(String sessionName, IProgressMonitor monitor)
throws ExecutionException;
/**
* @throws ExecutionException
* If the command fails
*/
- public void startSession(String sessionName, IProgressMonitor monitor)
+ void startSession(String sessionName, IProgressMonitor monitor)
throws ExecutionException;
/**
* @throws ExecutionException
* If the command fails
*/
- public void stopSession(String sessionName, IProgressMonitor monitor)
+ void stopSession(String sessionName, IProgressMonitor monitor)
throws ExecutionException;
/**
* @throws ExecutionException
* If the command fails
*/
- public void enableChannels(String sessionName, List<String> channelNames,
+ void enableChannels(String sessionName, List<String> channelNames,
boolean isKernel, IChannelInfo info, IProgressMonitor monitor)
throws ExecutionException;
* @throws ExecutionException
* If the command fails
*/
- public void disableChannels(String sessionName, List<String> channelNames,
+ void disableChannels(String sessionName, List<String> channelNames,
boolean isKernel, IProgressMonitor monitor)
throws ExecutionException;
* @throws ExecutionException
* If the command fails
*/
- public void enableEvents(String sessionName, String channelName,
+ void enableEvents(String sessionName, String channelName,
List<String> eventNames, boolean isKernel, String filterExpression,
IProgressMonitor monitor)
throws ExecutionException;
* @throws ExecutionException
* If the command fails
*/
- public void enableSyscalls(String sessionName, String channelName,
+ void enableSyscalls(String sessionName, String channelName,
IProgressMonitor monitor) throws ExecutionException;
/**
* @throws ExecutionException
* If the command fails
*/
- public void enableProbe(String sessionName, String channelName,
+ void enableProbe(String sessionName, String channelName,
String eventName, boolean isFunction, String probe,
IProgressMonitor monitor) throws ExecutionException;
* @throws ExecutionException
* If the command fails
*/
- public void enableLogLevel(String sessionName, String channelName,
+ void enableLogLevel(String sessionName, String channelName,
String eventName, LogLevelType logLevelType, TraceLogLevel level,
String filterExpression,
IProgressMonitor monitor) throws ExecutionException;
* @throws ExecutionException
* If the command fails
*/
- public void disableEvent(String sessionName, String channelName,
+ void disableEvent(String sessionName, String channelName,
List<String> eventNames, boolean isKernel, IProgressMonitor monitor)
throws ExecutionException;
* @throws ExecutionException
* If the command fails
*/
- public List<String> getContextList(IProgressMonitor monitor)
+ List<String> getContextList(IProgressMonitor monitor)
throws ExecutionException;
/**
* @throws ExecutionException
* If the command fails
*/
- public void addContexts(String sessionName, String channelName,
+ void addContexts(String sessionName, String channelName,
String eventName, boolean isKernel, List<String> contexts,
IProgressMonitor monitor) throws ExecutionException;
* @throws ExecutionException
* If the command fails
*/
- public void calibrate(boolean isKernel, IProgressMonitor monitor)
+ void calibrate(boolean isKernel, IProgressMonitor monitor)
throws ExecutionException;
}