public class ConnectionImpl extends ConnectionBaseImpl implements Connection
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ConnectionImpl.ErrorAwareFuture<Res extends ResponseMessage,M> |
connectCallbackHandlerconnectionInformation, executor, statistics| Constructor and Description |
|---|
ConnectionImpl(org.eclipse.scada.core.ConnectionInformation connectionInformation) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFactoriesListener(FactoriesListener listener) |
org.eclipse.scada.utils.concurrent.NotifyFuture<Void> |
applyDiff(List<DiffEntry> changeSet,
OperationParameters operationParameters,
org.eclipse.scada.sec.callback.CallbackHandler callbackHandler) |
org.eclipse.scada.utils.concurrent.NotifyFuture<ConfigurationInformation> |
getConfiguration(String factoryId,
String configurationId) |
org.eclipse.scada.utils.concurrent.NotifyFuture<FactoryInformation[]> |
getFactories() |
org.eclipse.scada.utils.concurrent.NotifyFuture<FactoryInformation> |
getFactoryWithData(String factoryId) |
protected void |
onConnectionBound()
Called when the connection got bound
|
protected void |
onConnectionClosed()
Called when the connection got closed
|
void |
removeFactoriesListener(FactoriesListener listener) |
protected void |
setFactories(FactoryInformation[] factories) |
handleMessage, makeProperties, nextRequest, onConnectionConnected, processCallbackFuture, registerCallbackHandler, sendRequestMessage, setCallbackFactoryaddConnectionStateListener, addPrivilegeListener, connect, connect, disconnect, dispose, firePrivilegeChange, getPrivileges, getSession, getSslSession, getState, handleConnectComplete, isDisposed, messageReceived, performClosed, performDisconnected, performOpened, removeConnectionStateListener, removePrivilegeListener, sendMessage, sendMessageChecked, setState, switchStategetConnectionInformation, getSessionProperties, getStatistics, setSessionPropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddConnectionStateListener, addPrivilegeListener, connect, connect, disconnect, dispose, getConnectionInformation, getPrivileges, getSessionProperties, getState, removeConnectionStateListener, removePrivilegeListener, setCallbackFactoryprotected void onConnectionBound()
ClientBaseConnectionThis method is called while the connection lock is held.
The default implementation does nothing.
onConnectionBound in class ClientBaseConnectionprotected void onConnectionClosed()
ClientBaseConnectionThis method is called while the connection lock is held.
The default implementation does nothing.
onConnectionClosed in class ConnectionBaseImplprotected void setFactories(FactoryInformation[] factories)
public void addFactoriesListener(FactoriesListener listener)
public void removeFactoriesListener(FactoriesListener listener)
public org.eclipse.scada.utils.concurrent.NotifyFuture<FactoryInformation[]> getFactories()
public org.eclipse.scada.utils.concurrent.NotifyFuture<FactoryInformation> getFactoryWithData(String factoryId)
public org.eclipse.scada.utils.concurrent.NotifyFuture<ConfigurationInformation> getConfiguration(String factoryId, String configurationId)
public org.eclipse.scada.utils.concurrent.NotifyFuture<Void> applyDiff(List<DiffEntry> changeSet, OperationParameters operationParameters, org.eclipse.scada.sec.callback.CallbackHandler callbackHandler)