public class ServerEndpointImpl extends AbstractPropertyChange implements ServerEndpoint
PROP_ERROR, PROP_RUNNING
Constructor and Description |
---|
ServerEndpointImpl(Export endpoint) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
Throwable |
getError() |
String |
getLabel() |
boolean |
isRunning() |
protected void |
setError(Throwable error) |
protected void |
setRunning(boolean running) |
void |
start() |
void |
stop() |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
public ServerEndpointImpl(Export endpoint)
public void stop() throws org.eclipse.core.runtime.CoreException
stop
in interface ServerLifecycle
org.eclipse.core.runtime.CoreException
public void start() throws org.eclipse.core.runtime.CoreException
start
in interface ServerLifecycle
org.eclipse.core.runtime.CoreException
public String getLabel()
getLabel
in interface ServerEndpoint
protected void setRunning(boolean running)
public boolean isRunning()
isRunning
in interface ServerLifecycle
protected void setError(Throwable error)
public Throwable getError()
getError
in interface ServerLifecycle
public void dispose()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.