public final class LowLevelApplicationConnections extends Object
Modifier and Type | Class and Description |
---|---|
private class |
LowLevelApplicationConnections.ApplicationConnectionsSubscriber
Diese Subklasse startet einen Thread, der eine Application bei einem Datenverteiler anmeldet.
|
Modifier and Type | Field and Description |
---|---|
private Map<Long,T_A_HighLevelCommunication> |
_applicationConnections |
private LowLevelApplicationConnections.ApplicationConnectionsSubscriber |
_applicationConnectionsSubscriber |
private HighLevelApplicationManager |
_applicationManager |
private ServerConnectionInterface |
_applicationsServerConnection |
private boolean |
_configurationAvailable |
private static Debug |
_debug |
private LowLevelConnectionsManagerInterface |
_lowLevelConnectionsManager |
private ServerDavParameters |
_serverDavParameters |
private Set<T_A_HighLevelCommunication> |
_unsortedApplicationConnections |
Constructor and Description |
---|
LowLevelApplicationConnections(HighLevelApplicationManager applicationManager,
LowLevelConnectionsManagerInterface lowLevelConnectionsManager,
Class<? extends ServerConnectionInterface> communicationProtocolClass,
ServerDavParameters serverDavParameters)
Startet eine neue Klasse, die Applikations-Verbindung auf unterster Protokoll-Ebene entgegennimmt und verwaltet.
|
Modifier and Type | Method and Description |
---|---|
private void |
addApplicationConnection(T_A_HighLevelCommunication highLevelCommunication) |
void |
close(boolean error,
String message) |
void |
continueAuthentication() |
void |
continueAuthentication(String _applicationTypePid,
String _applicationName)
Setzt dass die Konfigurationsverbindung erfolgreich hergestellt ist
|
private LowLevelCommunication |
createLowLevelConnection(ConnectionInterface connection,
boolean connected) |
(package private) T_A_HighLevelCommunication |
getApplicationConnection(long applicationId) |
Collection<T_A_HighLevelCommunication> |
getApplicationConnections() |
boolean |
removeApplicationConnection(T_A_HighLevelCommunication applicationCommunication) |
private void |
startApplicationConnection(ConnectionInterface connection) |
private ServerConnectionInterface |
startApplicationConnectionListener(Class<? extends ServerConnectionInterface> communicationProtocolClass) |
String |
toString() |
void |
updateId(T_A_HighLevelCommunication communication) |
private final LowLevelApplicationConnections.ApplicationConnectionsSubscriber _applicationConnectionsSubscriber
private final ServerConnectionInterface _applicationsServerConnection
private final Map<Long,T_A_HighLevelCommunication> _applicationConnections
private final Set<T_A_HighLevelCommunication> _unsortedApplicationConnections
private final HighLevelApplicationManager _applicationManager
private final LowLevelConnectionsManagerInterface _lowLevelConnectionsManager
private final ServerDavParameters _serverDavParameters
private boolean _configurationAvailable
private static final Debug _debug
public LowLevelApplicationConnections(HighLevelApplicationManager applicationManager, LowLevelConnectionsManagerInterface lowLevelConnectionsManager, Class<? extends ServerConnectionInterface> communicationProtocolClass, ServerDavParameters serverDavParameters) throws CommunicationError, IllegalAccessException, InstantiationException
lowLevelConnectionsManager
- Authentifizierungs-ModulcommunicationProtocolClass
- Kommunikationsprotokoll-Klasse wie TCP/IPserverDavParameters
- Server-Datenverteiler-ParameterCommunicationError
- KommunikationsfehlerIllegalAccessException
- Fehler beim Instantiieren der Protokoll-KlasseInstantiationException
- Fehler beim Instantiieren der Protokoll-Klasseprivate ServerConnectionInterface startApplicationConnectionListener(Class<? extends ServerConnectionInterface> communicationProtocolClass) throws InstantiationException, IllegalAccessException, CommunicationError
public void continueAuthentication()
public void continueAuthentication(String _applicationTypePid, String _applicationName)
_applicationTypePid
- _applicationName
- T_A_HighLevelCommunication getApplicationConnection(long applicationId)
public void close(boolean error, String message)
public void updateId(T_A_HighLevelCommunication communication)
public Collection<T_A_HighLevelCommunication> getApplicationConnections()
private void startApplicationConnection(ConnectionInterface connection) throws ConnectionException
ConnectionException
private void addApplicationConnection(T_A_HighLevelCommunication highLevelCommunication)
public boolean removeApplicationConnection(T_A_HighLevelCommunication applicationCommunication)
private LowLevelCommunication createLowLevelConnection(ConnectionInterface connection, boolean connected) throws ConnectionException
ConnectionException