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, toString
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
public ServerEventQueue(ServerContext serverCtx)
public void close()
close
in interface java.lang.AutoCloseable
public void addUserAuthenticationListener(UserAuthenticationEvent.Listener l)
addUserAuthenticationListener
in interface UserAuthenticationEvent.Source
public void removeUserAuthenticationListener(UserAuthenticationEvent.Listener l)
removeUserAuthenticationListener
in interface UserAuthenticationEvent.Source
public void fireUserAuthentication(UserAuthenticationEvent event)
public void addClientConnectionListener(ClientConnectionEvent.Listener l)
addClientConnectionListener
in interface ClientConnectionEvent.Source
public void removeClientConnectionListener(ClientConnectionEvent.Listener l)
removeClientConnectionListener
in interface ClientConnectionEvent.Source
public void fireClientConnectionChanged(ClientConnectionEvent event)
public void addCoServerConnectionListener(CoServerConnectionEvent.Listener l)
addCoServerConnectionListener
in interface CoServerConnectionEvent.Source
public void removeCoServerConnectionListener(CoServerConnectionEvent.Listener l)
removeCoServerConnectionListener
in interface CoServerConnectionEvent.Source
public void fireCoServerConnection(CoServerConnectionEvent event)
public void addNetMessageListener(NetMessageEvent.Listener l)
addNetMessageListener
in interface NetMessageEvent.Source
public void removeNetMessageListener(NetMessageEvent.Listener l)
removeNetMessageListener
in interface NetMessageEvent.Source
public void fireNetMessageSent(NetMessage msg)
public int put(GenericEvent event)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.