| Modifier and Type | Field and Description |
|---|---|
protected Set<EzySession> |
EzyAbstractResponse.exrecipients |
protected Set<EzySession> |
EzyAbstractResponse.recipients |
| Modifier and Type | Method and Description |
|---|---|
void |
EzyCloseSession.close(EzySession session,
com.tvd12.ezyfox.constant.EzyConstant reason) |
default void |
EzyStreamBytes.execute(byte[] bytes,
EzySession recipient) |
void |
EzyStreamBytes.execute(byte[] bytes,
EzySession recipient,
EzyTransportType transportType) |
default void |
EzyChildSendResponse.execute(com.tvd12.ezyfox.entity.EzyData data,
EzySession recipient,
boolean encrypted) |
void |
EzyChildSendResponse.execute(com.tvd12.ezyfox.entity.EzyData data,
EzySession recipient,
boolean encrypted,
EzyTransportType transportType) |
void |
EzySendResponse.execute(EzyResponse response,
EzySession recipient,
boolean encrypted,
boolean immediate,
EzyTransportType transportType) |
default EzyResponse |
EzyResponse.session(EzySession session) |
EzyResponse |
EzyResponse.session(EzySession session,
boolean exclude) |
EzyResponse |
EzyAbstractResponse.session(EzySession session,
boolean exclude) |
default EzyResponse |
EzyResponse.sessions(EzySession... sessions) |
EzyResponse |
EzyResponse.sessions(EzySession[] sessions,
boolean exclude) |
EzyResponse |
EzyAbstractResponse.sessions(EzySession[] sessions,
boolean exclude) |
| Modifier and Type | Method and Description |
|---|---|
default void |
EzyStreamBytes.execute(byte[] bytes,
Collection<EzySession> recipients) |
void |
EzyStreamBytes.execute(byte[] bytes,
Collection<EzySession> recipients,
EzyTransportType transportType) |
default void |
EzyChildSendResponse.execute(com.tvd12.ezyfox.entity.EzyData data,
Collection<EzySession> recipients,
boolean encrypted) |
void |
EzyChildSendResponse.execute(com.tvd12.ezyfox.entity.EzyData data,
Collection<EzySession> recipients,
boolean encrypted,
EzyTransportType transportType) |
void |
EzySendResponse.execute(EzyResponse response,
Collection<EzySession> recipients,
boolean encrypted,
boolean immediate,
EzyTransportType transportType) |
default EzyResponse |
EzyResponse.sessions(Iterable<EzySession> sessions) |
EzyResponse |
EzyResponse.sessions(Iterable<EzySession> sessions,
boolean exclude) |
EzyResponse |
EzyAbstractResponse.sessions(Iterable<EzySession> sessions,
boolean exclude) |
| Modifier and Type | Method and Description |
|---|---|
void |
EzyCloseSessionImpl.close(EzySession session,
com.tvd12.ezyfox.constant.EzyConstant reason) |
protected void |
EzyCloseSessionImpl.disconnectSession(EzySession session,
com.tvd12.ezyfox.constant.EzyConstant reason) |
void |
EzyStreamBytesImpl.execute(byte[] bytes,
EzySession recipient,
EzyTransportType transportType) |
void |
EzyPluginSendResponseImpl.execute(com.tvd12.ezyfox.entity.EzyData data,
EzySession recipient,
boolean encrypted,
EzyTransportType transportType) |
void |
EzyAppSendResponseImpl.execute(com.tvd12.ezyfox.entity.EzyData data,
EzySession recipient,
boolean encrypted,
EzyTransportType transportType) |
void |
EzySendResponseImpl.execute(EzyResponse response,
EzySession recipient,
boolean encrypted,
boolean immediate,
EzyTransportType transportType) |
protected void |
EzyCloseSessionImpl.sendToClients(EzySession session,
com.tvd12.ezyfox.constant.EzyConstant reason) |
protected void |
EzyCloseSessionImpl.sendToClients0(EzySession session,
com.tvd12.ezyfox.constant.EzyConstant reason) |
| Modifier and Type | Method and Description |
|---|---|
void |
EzyStreamBytesImpl.execute(byte[] bytes,
Collection<EzySession> recipients,
EzyTransportType transportType) |
void |
EzyPluginSendResponseImpl.execute(com.tvd12.ezyfox.entity.EzyData data,
Collection<EzySession> recipients,
boolean encrypted,
EzyTransportType transportType) |
void |
EzyAppSendResponseImpl.execute(com.tvd12.ezyfox.entity.EzyData data,
Collection<EzySession> recipients,
boolean encrypted,
EzyTransportType transportType) |
void |
EzySendResponseImpl.execute(EzyResponse response,
Collection<EzySession> recipients,
boolean encrypted,
boolean immediate,
EzyTransportType transportType) |
protected String |
EzySendResponseImpl.getRecipientsNames(Collection<EzySession> recipients) |
protected String |
EzyStreamBytesImpl.getRecipientsNames(Collection<EzySession> recipients) |
| Modifier and Type | Method and Description |
|---|---|
static EzySessionManager<EzySession> |
EzyServerContexts.getSessionManager(EzyServerContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
default void |
EzyZoneChildContext.send(com.tvd12.ezyfox.entity.EzyData data,
EzySession recipient,
boolean encrypted) |
void |
EzySimpleAppContext.send(com.tvd12.ezyfox.entity.EzyData data,
EzySession recipient,
boolean encrypted,
EzyTransportType transportType) |
void |
EzySimplePluginContext.send(com.tvd12.ezyfox.entity.EzyData data,
EzySession recipient,
boolean encrypted,
EzyTransportType transportType) |
void |
EzyZoneChildContext.send(com.tvd12.ezyfox.entity.EzyData data,
EzySession recipient,
boolean encrypted,
EzyTransportType transportType) |
default void |
EzyComplexContext.send(EzyResponse response,
EzySession recipient,
boolean encrypted) |
void |
EzySimpleServerContext.send(EzyResponse response,
EzySession recipient,
boolean encrypted,
EzyTransportType transportType) |
void |
EzySimpleZoneContext.send(EzyResponse response,
EzySession recipient,
boolean encrypted,
EzyTransportType transportType) |
void |
EzyComplexContext.send(EzyResponse response,
EzySession recipient,
boolean encrypted,
EzyTransportType transportType) |
void |
EzySimpleServerContext.sendNow(EzyResponse response,
EzySession recipient) |
void |
EzyServerContext.sendNow(EzyResponse response,
EzySession recipient) |
default void |
EzyComplexContext.stream(byte[] bytes,
EzySession recipient) |
void |
EzySimpleServerContext.stream(byte[] bytes,
EzySession recipient,
EzyTransportType transportType) |
void |
EzySimpleZoneContext.stream(byte[] bytes,
EzySession recipient,
EzyTransportType transportType) |
void |
EzyComplexContext.stream(byte[] bytes,
EzySession recipient,
EzyTransportType transportType) |
| Modifier and Type | Method and Description |
|---|---|
void |
EzySimpleAppContext.send(com.tvd12.ezyfox.entity.EzyData data,
Collection<EzySession> recipients,
boolean encrypted,
EzyTransportType transportType) |
void |
EzySimplePluginContext.send(com.tvd12.ezyfox.entity.EzyData data,
Collection<EzySession> recipients,
boolean encrypted,
EzyTransportType transportType) |
void |
EzyZoneChildContext.send(com.tvd12.ezyfox.entity.EzyData data,
Collection<EzySession> recipients,
boolean encrypted,
EzyTransportType transportType) |
default void |
EzyComplexContext.send(EzyResponse response,
Collection<EzySession> recipients,
boolean encrypted) |
void |
EzySimpleServerContext.send(EzyResponse response,
Collection<EzySession> recipients,
boolean encrypted,
EzyTransportType transportType) |
void |
EzySimpleZoneContext.send(EzyResponse response,
Collection<EzySession> recipients,
boolean encrypted,
EzyTransportType transportType) |
void |
EzyComplexContext.send(EzyResponse response,
Collection<EzySession> recipients,
boolean encrypted,
EzyTransportType transportType) |
default void |
EzyComplexContext.stream(byte[] bytes,
Collection<EzySession> recipients) |
void |
EzySimpleServerContext.stream(byte[] bytes,
Collection<EzySession> recipients,
EzyTransportType transportType) |
void |
EzySimpleZoneContext.stream(byte[] bytes,
Collection<EzySession> recipients,
EzyTransportType transportType) |
void |
EzyComplexContext.stream(byte[] bytes,
Collection<EzySession> recipients,
EzyTransportType transportType) |
| Modifier and Type | Method and Description |
|---|---|
protected EzySessionManager<EzySession> |
EzyAbstractServerController.getSessionManager(EzyServerContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
EzyLoginProcessor.addUserToManager(EzyZoneUserManager userManager,
EzyUser user,
EzySession session,
boolean alreadyLoggedIn) |
protected void |
EzyLoginProcessor.fireUserAddedEvent(EzyZoneContext zoneContext,
EzyUser user,
EzySession session,
com.tvd12.ezyfox.entity.EzyData loginData,
boolean alreadyLoggedIn) |
protected EzyHandshakeEvent |
EzyHandshakeController.newHandshakeEvent(EzySession session,
EzyHandshakeParams params) |
protected EzyResponse |
EzyHandshakeController.newHandShakeResponse(EzySession session,
EzyHandshakeEvent event) |
protected EzyUserLoginEvent |
EzyLoginController.newLoginEvent(EzySession session,
EzyLoginParams params) |
protected EzyEvent |
EzyLoginProcessor.newUserAddedEvent(EzyUser user,
EzySession session,
com.tvd12.ezyfox.entity.EzyData loginData) |
protected void |
EzyLoginProcessor.processChangeSession(EzyUser user,
EzySession session) |
protected void |
EzyLoginController.processException(EzyServerContext ctx,
EzySession session,
EzyLoginErrorException e) |
protected void |
EzyLoginProcessor.processUserSessions(EzyUser user,
EzySession session,
int maxSessionPerUser,
boolean allowChangeSession,
boolean streamingEnable) |
protected void |
EzyAccessAppController.responseAccessAppError(EzyServerContext ctx,
EzySession session,
EzyAccessAppException exception) |
protected void |
EzyLoginController.responseLoginError(EzyServerContext ctx,
EzySession session,
EzyILoginError error) |
protected void |
EzyRequestAppController.responseRequestAppError(EzyServerContext ctx,
EzySession session,
EzyIRequestAppError error) |
protected void |
EzyHandshakeController.updateSession(EzySession session,
EzyHandshakeEvent event) |
| Modifier and Type | Method and Description |
|---|---|
<S extends EzySession> |
EzySimpleSessionCreator.create(EzyChannel channel) |
<S extends EzySession> |
EzySessionCreator.create(EzyChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
protected EzySession |
EzySimpleSessionCreator.newSession(EzyChannel channel) |
| Modifier and Type | Class and Description |
|---|---|
class |
EzyAbstractSession |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Long,EzySession> |
EzySimpleUser.sessionMap |
| Modifier and Type | Method and Description |
|---|---|
EzySession |
EzySessionFetcher.getSession() |
EzySession |
EzySimpleUser.getSession() |
EzySession |
EzyUser.getSession()
Get the first session
|
| Modifier and Type | Method and Description |
|---|---|
List<EzySession> |
EzySimpleUser.changeSession(EzySession session) |
List<EzySession> |
EzyUser.changeSession(EzySession session)
change current session
|
List<EzySession> |
EzySimpleUser.getSessions() |
List<EzySession> |
EzyUser.getSessions()
Get current session
|
| Modifier and Type | Method and Description |
|---|---|
void |
EzySimpleUser.addSession(EzySession session) |
void |
EzyUser.addSession(EzySession session)
Add new session
|
List<EzySession> |
EzySimpleUser.changeSession(EzySession session) |
List<EzySession> |
EzyUser.changeSession(EzySession session)
change current session
|
void |
EzySimpleUser.removeSession(EzySession session) |
void |
EzyUser.removeSession(EzySession session)
remove a session
|
void |
EzySessionAware.setSession(EzySession session) |
| Modifier and Type | Field and Description |
|---|---|
protected EzySession |
EzySimpleSessionEvent.session |
protected EzySession |
EzySimpleUserSessionEvent.session |
| Modifier and Type | Method and Description |
|---|---|
EzySession |
EzySessionEvent.getSession() |
| Constructor and Description |
|---|
EzySimpleHandshakeEvent(EzySession session,
String clientId,
byte[] clientKey,
String clientType,
String clientVersion,
String reconnectToken,
boolean enableEncryption) |
EzySimpleSessionEvent(EzySession session) |
EzySimpleSessionRemovedEvent(EzyUser user,
EzySession session,
com.tvd12.ezyfox.constant.EzyConstant reason) |
EzySimpleStreamingEvent(EzyUser user,
EzySession session,
byte[] bytes) |
EzySimpleUserAddedEvent(EzyUser user,
EzySession session,
com.tvd12.ezyfox.entity.EzyData data) |
EzySimpleUserLoginEvent(EzySession session,
String zoneName,
String username,
String password,
com.tvd12.ezyfox.entity.EzyData data) |
EzySimpleUserRequestAppEvent(EzyUser user,
EzySession session,
com.tvd12.ezyfox.entity.EzyArray data) |
EzySimpleUserRequestEvent(EzyUser user,
EzySession session,
com.tvd12.ezyfox.entity.EzyArray data) |
EzySimpleUserRequestPluginEvent(EzyUser user,
EzySession session,
com.tvd12.ezyfox.entity.EzyArray data) |
EzySimpleUserSessionEvent(EzyUser user,
EzySession session) |
| Modifier and Type | Field and Description |
|---|---|
protected EzySession |
EzyRequestHandleException.session |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
EzyRequestHandleException.newHandleRequestErrorMessage(EzySession session,
com.tvd12.ezyfox.constant.EzyConstant cmd,
Object data) |
static EzyRequestHandleException |
EzyRequestHandleException.requestHandleException(EzySession session,
com.tvd12.ezyfox.constant.EzyConstant cmd,
Object data,
Throwable e) |
| Constructor and Description |
|---|
EzyRequestHandleException(EzySession session,
com.tvd12.ezyfox.constant.EzyConstant cmd,
Object data,
Throwable e) |
| Modifier and Type | Class and Description |
|---|---|
class |
EzyAbstractSessionFactory<S extends EzySession> |
interface |
EzySessionFactory<S extends EzySession> |
| Modifier and Type | Class and Description |
|---|---|
class |
EzyAbstractDataHandler<S extends EzySession> |
class |
EzySessionDataHandler<S extends EzySession> |
class |
EzySimpleDataHandler<S extends EzySession> |
class |
EzyUserDataHandler<S extends EzySession> |
| Modifier and Type | Field and Description |
|---|---|
protected S |
EzyAbstractDataHandler.session |
| Modifier and Type | Field and Description |
|---|---|
protected EzySession |
EzySimpleRequest.session |
| Modifier and Type | Method and Description |
|---|---|
EzySession |
EzyStreamingRequest.getSession() |
| Modifier and Type | Method and Description |
|---|---|
Collection<EzySession> |
EzyBytesPackage.getRecipients(com.tvd12.ezyfox.constant.EzyConstant connectionType) |
Collection<EzySession> |
EzyPackage.getRecipients(com.tvd12.ezyfox.constant.EzyConstant connectionType) |
| Modifier and Type | Field and Description |
|---|---|
protected com.tvd12.ezyfox.util.EzyHashMapList<com.tvd12.ezyfox.constant.EzyConstant,EzySession> |
EzySimplePackage.recipients |
protected com.tvd12.ezyfox.util.EzyHashMapList<com.tvd12.ezyfox.constant.EzyConstant,EzySession> |
EzySimpleBytesPackage.recipients |
| Modifier and Type | Method and Description |
|---|---|
<T extends EzySession> |
EzyBlockingSessionTicketsQueue.take() |
<T extends EzySession> |
EzySessionTicketsQueue.take() |
| Modifier and Type | Method and Description |
|---|---|
EzySession |
EzySocketDisconnection.getSession() |
EzySession |
EzySocketStream.getSession() |
EzySession |
EzySocketRequest.getSession() |
| Modifier and Type | Method and Description |
|---|---|
Collection<EzySession> |
EzySimplePackage.getRecipients(com.tvd12.ezyfox.constant.EzyConstant connectionType) |
Collection<EzySession> |
EzySimpleBytesPackage.getRecipients(com.tvd12.ezyfox.constant.EzyConstant connectionType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
EzyBlockingSessionTicketsQueue.add(EzySession session) |
boolean |
EzySessionTicketsQueue.add(EzySession session) |
void |
EzySimplePackage.addRecipient(EzySession recipient) |
void |
EzySimpleBytesPackage.addRecipient(EzySession recipient) |
protected EzySocketDataHandlerGroup |
EzySocketRequestHandler.getDataHandlerGroup(EzySession session) |
EzySocketDataHandlerGroup |
EzySocketDataHandlerGroupFetcher.getDataHandlerGroup(EzySession session) |
protected EzySocketDataHandlerGroup |
EzySocketStreamHandler.getDataHandlerGroup(EzySession session) |
protected abstract EzyRequestQueue |
EzySocketRequestHandler.getRequestQueue(EzySession session) |
protected EzyRequestQueue |
EzySocketSystemRequestHandler.getRequestQueue(EzySession session) |
protected EzyRequestQueue |
EzySocketExtensionRequestHandler.getRequestQueue(EzySession session) |
EzySocketWriterGroup |
EzySocketWriterGroupFetcher.getWriterGroup(EzySession session) |
protected EzySocketWriterGroup |
EzySocketWriter.getWriterGroup(EzySession session) |
protected EzySocketDataHandlerGroup |
EzySocketDisconnectionHandler.removeDataHandlerGroup(EzySession session) |
EzySocketDataHandlerGroup |
EzySocketDataHandlerGroupRemover.removeHandlerGroup(EzySession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
EzySimplePackage.addRecipients(Collection<EzySession> recipients) |
void |
EzySimpleBytesPackage.addRecipients(Collection<EzySession> recipients) |
| Constructor and Description |
|---|
EzySimpleSocketDisconnection(EzySession session) |
EzySimpleSocketRequest(EzySession session,
com.tvd12.ezyfox.entity.EzyArray data) |
EzySimpleSocketStream(EzySession session,
byte[] bytes) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
EzySessionManager<S extends EzySession> |
class |
EzySimpleSessionManager<S extends EzySession> |
static class |
EzySimpleSessionManager.Builder<S extends EzySession> |
| Modifier and Type | Method and Description |
|---|---|
EzySession |
EzySessionManager.getSession(long id)
Get session by id
|
EzySession |
EzySimpleSessionManager.getSession(long id) |
| Modifier and Type | Method and Description |
|---|---|
void |
EzyZoneUserManager.addUser(EzySession session,
EzyUser user)
Add user
|
void |
EzyZoneUserManager.bind(EzySession session,
EzyUser user)
Add user
|
boolean |
EzyZoneUserManager.containsUser(EzySession session)
Check whether contains user or not
|
protected long |
EzySimpleSessionManager.getSessionRemainWaitingTime(EzySession session) |
EzyUser |
EzyZoneUserManager.getUser(EzySession session)
Get user by id
|
protected boolean |
EzySimpleSessionManager.isUnloggedInSession(EzySession session) |
void |
EzyZoneUserManager.unmapSessionUser(EzySession session,
com.tvd12.ezyfox.constant.EzyConstant reason)
Unmap session has mapped to user
|
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentHashMap<EzySession,EzyUser> |
EzyZoneUserManagerImpl.usersBySession |
| Modifier and Type | Method and Description |
|---|---|
void |
EzyZoneUserManagerImpl.addUser(EzySession session,
EzyUser user) |
void |
EzyZoneUserManagerImpl.bind(EzySession session,
EzyUser user) |
boolean |
EzyZoneUserManagerImpl.containsUser(EzySession session) |
EzyUser |
EzyZoneUserManagerImpl.getUser(EzySession session) |
void |
EzyZoneUserManagerImpl.unmapSessionUser(EzySession session,
com.tvd12.ezyfox.constant.EzyConstant reason) |
Copyright © 2021 Young Monkeys. All rights reserved.