public class OSServiceManagerPlugin
extends java.lang.Object
implements org.processmining.framework.util.socket.ServiceEnvironment
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
OSServiceManagerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
A service uses this method to signal that it has been canceled (i.e., the
socket is closed).
|
boolean |
isCancelled()
Provides the information about the state of the environment.
|
void |
log(java.lang.String message)
A service uses this method to log messages in the environment.
|
void |
log(java.lang.String message,
org.processmining.framework.plugin.events.Logger.MessageLevel level)
A service uses this method to log messages in the environment.
|
void |
log(java.lang.Throwable t)
A service uses this method to log occurrence of an exception in the
environment.
|
void |
manage(org.processmining.framework.plugin.PluginContext context,
OSService service) |
void |
manageUI(org.processmining.contexts.uitopia.UIPluginContext context,
OSService service) |
void |
stillAlive()
While listening on its socket, a service will regularly invoke this
method.
|
public static final java.lang.String NAME
public void manageUI(org.processmining.contexts.uitopia.UIPluginContext context,
OSService service)
throws java.io.IOException
java.io.IOExceptionpublic void manage(org.processmining.framework.plugin.PluginContext context,
OSService service)
throws java.io.IOException
java.io.IOExceptionpublic boolean isCancelled()
org.processmining.framework.util.socket.ServiceEnvironmentisCancelled in interface org.processmining.framework.util.socket.ServiceEnvironmentpublic void log(java.lang.String message,
org.processmining.framework.plugin.events.Logger.MessageLevel level)
org.processmining.framework.util.socket.ServiceEnvironmentlog in interface org.processmining.framework.util.socket.ServiceEnvironmentmessage - is the message that should be loggedlevel - is the type of messagepublic void log(java.lang.String message)
org.processmining.framework.util.socket.ServiceEnvironmentlog in interface org.processmining.framework.util.socket.ServiceEnvironmentmessage - is the message that should be loggedpublic void log(java.lang.Throwable t)
org.processmining.framework.util.socket.ServiceEnvironmentlog in interface org.processmining.framework.util.socket.ServiceEnvironmentt - is the exception that occurred and should be loggedpublic void cancel()
org.processmining.framework.util.socket.ServiceEnvironmentcancel in interface org.processmining.framework.util.socket.ServiceEnvironmentpublic void stillAlive()
org.processmining.framework.util.socket.ServiceEnvironmentstillAlive in interface org.processmining.framework.util.socket.ServiceEnvironment