public class BackendProtocolServer extends java.lang.Object implements BackendProtocolServerI
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_QUEUED_LOG_EVENTS |
static java.lang.String |
my_name |
static java.lang.String |
my_version |
static int |
RESET_OUT_INTERVAL |
| Constructor and Description |
|---|
BackendProtocolServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireTransportChannelResourcesEarly()
Acquires the resources needed for the transport channel of this BackendProtocolServerI early on.
|
int |
addUnauthedCommandHandler(java.lang.String ip,
BackendCommandHandlerI bch)
Adds the passed BackendCommandHandlerI to the internal Set
that holds all unauthed BackendCommandHandlerIs for the passed IP.
|
void |
afterEventSendingFinished() |
java.lang.String |
describeSessionsByType() |
void |
dumpSessions() |
BackendSessionInfo[] |
getActiveSessionInfos() |
BackendSessionI[] |
getActiveSessions() |
CryptoHandlerI |
getClientCryptoHandler() |
DBManConfigurationHelperI |
getConf() |
DBManLocalI |
getDbm() |
DBManInfo |
getDBManInfo() |
ErrorHandler |
getEh() |
Struktur[] |
getMatchingStrukturen(EntityI[] ents,
Gruppe[] groups) |
SchemaI |
getSchema() |
netrexx.lang.Rexx |
getSection() |
ServerCryptoHandlerI |
getServerCryptoHandler() |
java.lang.Thread |
getServerThread() |
BackendSessionI |
getSession(java.lang.Long id) |
DBManUserContextI |
getUserContext(java.lang.Long id) |
void |
init(DBManLocalI _dbm,
netrexx.lang.Rexx _section) |
void |
initDBManAndConfAndSection(DBManLocalI _dbm,
netrexx.lang.Rexx _section) |
void |
loginUser(BackendSessionI session) |
boolean |
logoutUser(BackendSessionI session) |
void |
postInit() |
boolean |
removeUnauthedCommandHandler(java.lang.String ip,
BackendCommandHandlerI bch,
java.lang.String reason)
Removes the passed BackendCommandHandlerI from the internal Set
that holds all unauthed BackendCommandHandlerIs for the passed IP.
|
void |
resetPassword(java.lang.String username) |
void |
setConf(DBManConfigurationHelperI $13) |
void |
setEh(ErrorHandler $14) |
void |
setSection(netrexx.lang.Rexx $11) |
void |
setServerThread(java.lang.Thread $12) |
void |
waitUntilEventSendingFinished()
Used by DBMan.ShutdownThread to assure that the JVM isn't halted until all
the shutdown notifications have reached the clients.
|
public static final java.lang.String my_name
public static final java.lang.String my_version
public static final int RESET_OUT_INTERVAL
public static final int MAX_QUEUED_LOG_EVENTS
public int addUnauthedCommandHandler(java.lang.String ip,
BackendCommandHandlerI bch)
public boolean removeUnauthedCommandHandler(java.lang.String ip,
BackendCommandHandlerI bch,
java.lang.String reason)
public void acquireTransportChannelResourcesEarly()
BackendProtocolServerIacquireTransportChannelResourcesEarly in interface BackendProtocolServerIpublic void init(DBManLocalI _dbm, netrexx.lang.Rexx _section)
public void initDBManAndConfAndSection(DBManLocalI _dbm, netrexx.lang.Rexx _section)
public void postInit()
public BackendSessionI getSession(java.lang.Long id)
public DBManUserContextI getUserContext(java.lang.Long id)
public void dumpSessions()
public java.lang.String describeSessionsByType()
public BackendSessionI[] getActiveSessions()
public BackendSessionInfo[] getActiveSessionInfos()
getActiveSessionInfos in interface BackendProtocolServerIpublic void loginUser(BackendSessionI session) throws AuthenticationException
AuthenticationExceptionpublic boolean logoutUser(BackendSessionI session)
public void resetPassword(java.lang.String username)
throws AuthenticationException
resetPassword in interface BackendProtocolServerIAuthenticationExceptionpublic DBManInfo getDBManInfo()
getDBManInfo in interface BackendProtocolServerIpublic DBManLocalI getDbm()
getDbm in interface BackendProtocolServerIpublic ServerCryptoHandlerI getServerCryptoHandler()
public CryptoHandlerI getClientCryptoHandler()
getClientCryptoHandler in interface BackendProtocolServerIpublic SchemaI getSchema()
public void waitUntilEventSendingFinished()
public void afterEventSendingFinished()
public Struktur[] getMatchingStrukturen(EntityI[] ents, Gruppe[] groups)
getMatchingStrukturen in interface BackendProtocolServerIpublic netrexx.lang.Rexx getSection()
public void setSection(netrexx.lang.Rexx $11)
public java.lang.Thread getServerThread()
public void setServerThread(java.lang.Thread $12)
public DBManConfigurationHelperI getConf()
public void setConf(DBManConfigurationHelperI $13)
public ErrorHandler getEh()
public void setEh(ErrorHandler $14)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.