public final class ProxySession extends java.lang.Object implements IProxySession
Modifier and Type | Field and Description |
---|---|
static long |
INACTIVE_TIMEOUT |
Constructor and Description |
---|
ProxySession(org.vertx.java.core.Vertx vertx,
org.vertx.java.core.net.NetClient netClient,
HttpClientProvider httpProvider) |
Modifier and Type | Method and Description |
---|---|
void |
addWriteWindowListener(IWriteWindowListener wl) |
static ProxySession |
bySocket(org.vertx.java.core.net.NetSocket ns) |
void |
closed() |
void |
commandCompleted(java.lang.String tag,
java.lang.String response,
org.vertx.java.core.Handler<CommandCompletion> completed) |
void |
commandStarted(java.lang.String tag,
java.lang.String cmd) |
void |
dumpHistoryData() |
void |
dumpSessionData() |
java.lang.String |
getBackend() |
org.vertx.java.core.net.NetSocket |
getClient() |
IIMAPDecisionMaker |
getDecisionMaker() |
ClientFingerprint |
getFingerprint() |
long |
getKeepAliveTimer() |
java.lang.String |
getLogin() |
int |
getMessageSizeLimit() |
java.lang.String |
getSelectedMailbox() |
org.vertx.java.core.net.NetSocket |
getServer() |
java.util.Map<java.lang.String,java.lang.String> |
getSettings() |
long |
getStart() |
IMAPState |
getState() |
java.lang.String |
getToken() |
java.lang.String |
getUniqueId() |
AuthUser |
getUser() |
HttpClientProvider |
httpClient() |
IProxySession |
immutable() |
boolean |
isSecure() |
org.vertx.java.core.net.NetClient |
netClient() |
void |
setClient(org.vertx.java.core.net.NetSocket imap) |
void |
setCommandListener(ICommandListener listener) |
void |
setDecisionMaker(IIMAPDecisionMaker dm) |
void |
setFingerprint(ClientFingerprint fingerprint) |
void |
setKeepAliveTimer(long keepAliveTimer) |
void |
setServer(org.vertx.java.core.net.NetSocket server) |
void |
setState(IMAPState state) |
void |
setToken(java.lang.String token) |
void |
setUpstreamHandler(org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer> dpiHandler) |
void |
setUser(AuthUser user) |
void |
stillActive() |
org.vertx.java.core.Vertx |
vertx() |
public static final long INACTIVE_TIMEOUT
public ProxySession(org.vertx.java.core.Vertx vertx, org.vertx.java.core.net.NetClient netClient, HttpClientProvider httpProvider)
public static ProxySession bySocket(org.vertx.java.core.net.NetSocket ns)
public org.vertx.java.core.Vertx vertx()
public org.vertx.java.core.net.NetClient netClient()
public HttpClientProvider httpClient()
public void addWriteWindowListener(IWriteWindowListener wl)
public org.vertx.java.core.net.NetSocket getClient()
public void setClient(org.vertx.java.core.net.NetSocket imap)
public org.vertx.java.core.net.NetSocket getServer()
public void setServer(org.vertx.java.core.net.NetSocket server)
public IIMAPDecisionMaker getDecisionMaker()
public void setDecisionMaker(IIMAPDecisionMaker dm)
public IMAPState getState()
public void setState(IMAPState state)
public void closed()
public java.lang.String getLogin()
getLogin
in interface IProxySession
public boolean isSecure()
public long getStart()
public void commandStarted(java.lang.String tag, java.lang.String cmd)
public void commandCompleted(java.lang.String tag, java.lang.String response, org.vertx.java.core.Handler<CommandCompletion> completed)
public IProxySession immutable()
immutable
in interface IProxySession
public java.lang.String getSelectedMailbox()
getSelectedMailbox
in interface IProxySession
public java.lang.String getBackend()
getBackend
in interface IProxySession
public java.lang.String getToken()
getToken
in interface IProxySession
public void setToken(java.lang.String token)
public long getKeepAliveTimer()
public void setKeepAliveTimer(long keepAliveTimer)
public void setUpstreamHandler(org.vertx.java.core.Handler<org.vertx.java.core.buffer.Buffer> dpiHandler)
public void dumpSessionData()
public void dumpHistoryData()
public java.util.Map<java.lang.String,java.lang.String> getSettings()
public ClientFingerprint getFingerprint()
getFingerprint
in interface IProxySession
public void setFingerprint(ClientFingerprint fingerprint)
public java.lang.String getUniqueId()
getUniqueId
in interface IProxySession
public void stillActive()
public AuthUser getUser()
getUser
in interface IProxySession
public void setUser(AuthUser user)
public int getMessageSizeLimit()
getMessageSizeLimit
in interface IProxySession
public void setCommandListener(ICommandListener listener)
Copyright © 2021. All Rights Reserved.