public class ServerEventQueue extends AbstractServerObject<ServerContext> implements NetMessageEvent.Source, UserAuthenticationEvent.Source, ClientConnectionEvent.Source, CoServerConnectionEvent.Source, CloseableComponent
| Constructor and Description |
|---|
ServerEventQueue(ServerContext serverCtx) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientConnectionListener(ClientConnectionEvent.Listener l) |
void |
addCoServerConnectionListener(CoServerConnectionEvent.Listener l) |
void |
addNetMessageListener(NetMessageEvent.Listener l) |
void |
addUserAuthenticationListener(UserAuthenticationEvent.Listener l) |
void |
close() |
void |
fireClientConnectionChanged(ClientConnectionEvent event) |
void |
fireCoServerConnection(CoServerConnectionEvent event) |
void |
fireNetMessageSent(NetMessage msg) |
void |
fireUserAuthentication(UserAuthenticationEvent event) |
int |
put(GenericEvent event) |
void |
removeClientConnectionListener(ClientConnectionEvent.Listener l) |
void |
removeCoServerConnectionListener(CoServerConnectionEvent.Listener l) |
void |
removeNetMessageListener(NetMessageEvent.Listener l) |
void |
removeUserAuthenticationListener(UserAuthenticationEvent.Listener l) |
checkPermission, getServerConfig, getServerContext, getStatisticManager, toStringgetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringpublic ServerEventQueue(ServerContext serverCtx)
public void close()
close in interface java.lang.AutoCloseablepublic void addUserAuthenticationListener(UserAuthenticationEvent.Listener l)
addUserAuthenticationListener in interface UserAuthenticationEvent.Sourcepublic void removeUserAuthenticationListener(UserAuthenticationEvent.Listener l)
removeUserAuthenticationListener in interface UserAuthenticationEvent.Sourcepublic void fireUserAuthentication(UserAuthenticationEvent event)
public void addClientConnectionListener(ClientConnectionEvent.Listener l)
addClientConnectionListener in interface ClientConnectionEvent.Sourcepublic void removeClientConnectionListener(ClientConnectionEvent.Listener l)
removeClientConnectionListener in interface ClientConnectionEvent.Sourcepublic void fireClientConnectionChanged(ClientConnectionEvent event)
public void addCoServerConnectionListener(CoServerConnectionEvent.Listener l)
addCoServerConnectionListener in interface CoServerConnectionEvent.Sourcepublic void removeCoServerConnectionListener(CoServerConnectionEvent.Listener l)
removeCoServerConnectionListener in interface CoServerConnectionEvent.Sourcepublic void fireCoServerConnection(CoServerConnectionEvent event)
public void addNetMessageListener(NetMessageEvent.Listener l)
addNetMessageListener in interface NetMessageEvent.Sourcepublic void removeNetMessageListener(NetMessageEvent.Listener l)
removeNetMessageListener in interface NetMessageEvent.Sourcepublic void fireNetMessageSent(NetMessage msg)
public int put(GenericEvent event)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.