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(ConnectionInformation connectionInformation) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFactoriesListener(FactoriesListener listener) |
|
applyDiff(java.util.List<DiffEntry> changeSet,
OperationParameters operationParameters,
CallbackHandler callbackHandler) |
|
getConfiguration(java.lang.String factoryId,
java.lang.String configurationId) |
|
getFactories() |
|
getFactoryWithData(java.lang.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, setCallbackFactorypublic ConnectionImpl(ConnectionInformation connectionInformation)
throws java.lang.Exception
java.lang.Exceptionprotected 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)
publicgetFactories()
publicgetFactoryWithData(java.lang.String factoryId)
publicgetConfiguration(java.lang.String factoryId, java.lang.String configurationId)
publicapplyDiff(java.util.List<DiffEntry> changeSet, OperationParameters operationParameters, CallbackHandler callbackHandler)
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0