public class FSConnectionAPI extends AEntityAPI<FrontendServer>
FrontendServer entities and API-Klassse zur Manipulation von
FrontendServer-Entitäten und to invoke the appropriate connect / disconnect and connection testing operationsentityClass| Constructor and Description |
|---|
FSConnectionAPI() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
closeAllConnections(UserContext uc)
Method for disconnecting all
FrontendServer connections. |
Boolean |
connect(UserContext uc,
FrontendServer frontendServer)
Method for establishing the connection to a
FrontendServer. |
Boolean |
disconnect(UserContext uc,
FrontendServer frontendServer)
Method for disconnecting the connection to a
FrontendServer. |
EConnectionStatus |
getStatus(UserContext uc,
long frontendserverId)
Method for determining the status of a
FrontendServers by his ID. |
Boolean |
initConnections(UserContext uc)
Method for initializing all existing
FrontendServer connections. |
Boolean |
testConnection(UserContext uc,
FrontendServer frontendServer)
Method to test a connection to a
FrontendServer. |
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, resultTotalCount, resultTotalCount, update, updategetHandlerProviderpublic Boolean testConnection(UserContext uc, FrontendServer frontendServer)
FrontendServer.uc - UserContext the user context in which the action is to be performed.frontendServer - FrontendServer whose connection is to be tested.Boolean whether the connection could be established successfully or not.public Boolean connect(UserContext uc, FrontendServer frontendServer)
FrontendServer.uc - UserContext the user context in which the action is to be performed.frontendServer - FrontendServer to be connected.Boolean whether the connection could be established successfully.public Boolean disconnect(UserContext uc, FrontendServer frontendServer)
FrontendServer.uc - UserContext the user context in which the action is to be performed.frontendServer - FrontendServer to be separated.Boolean whether the connection could be successfully disconnected.public EConnectionStatus getStatus(UserContext uc, long frontendserverId)
FrontendServers by his ID.uc - UserContext the user context in which the action is to be performed.frontendserverId - Integer the id of FrontendServers.EConnectionStatus the connection status of FrontendServers.public Boolean initConnections(UserContext uc)
FrontendServer connections.uc - UserContext the user context in which the action is to be performed.Boolean whether the initialization was successful.public Boolean closeAllConnections(UserContext uc)
FrontendServer connections.uc - UserContext the user context in which the action is to be performed.Boolean whether the disconnecting was successful.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.