public class LmtpSessionProxy extends java.lang.Object implements LmtpRequestHandler, LmtpResponseHandler
Modifier and Type | Field and Description |
---|---|
protected LmtpEnvelope |
mEnvelope |
Constructor and Description |
---|
LmtpSessionProxy(com.netflix.spectator.api.Registry reg,
org.vertx.java.core.eventbus.EventBus eventBus,
org.vertx.java.core.net.NetSocket client,
org.vertx.java.core.net.NetSocket backend,
LmtpConfig config) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getAdditionalHeaders() |
void |
handleDATA(java.lang.String params) |
void |
handleDataBuffer(org.vertx.java.core.buffer.Buffer ori) |
void |
handleLHLO(java.lang.String arg) |
void |
handleMAIL(java.lang.String arg) |
void |
handleNOOP() |
void |
handleQUIT() |
void |
handleRCPT(java.lang.String arg) |
void |
handleResponse(LmtpResponse resp) |
void |
handleRSET(java.lang.String params) |
void |
handleUnknow(java.lang.String cmd,
java.lang.String params) |
void |
handleVRFY(java.lang.String params) |
void |
start()
start session/connection proxy
|
protected LmtpEnvelope mEnvelope
public LmtpSessionProxy(com.netflix.spectator.api.Registry reg, org.vertx.java.core.eventbus.EventBus eventBus, org.vertx.java.core.net.NetSocket client, org.vertx.java.core.net.NetSocket backend, LmtpConfig config)
public void start()
public void handleUnknow(java.lang.String cmd, java.lang.String params)
handleUnknow
in interface LmtpRequestHandler
public void handleLHLO(java.lang.String arg)
handleLHLO
in interface LmtpRequestHandler
public void handleMAIL(java.lang.String arg)
handleMAIL
in interface LmtpRequestHandler
public void handleRSET(java.lang.String params)
handleRSET
in interface LmtpRequestHandler
public void handleRCPT(java.lang.String arg)
handleRCPT
in interface LmtpRequestHandler
public void handleNOOP()
handleNOOP
in interface LmtpRequestHandler
public void handleQUIT()
handleQUIT
in interface LmtpRequestHandler
public void handleVRFY(java.lang.String params)
handleVRFY
in interface LmtpRequestHandler
public void handleDATA(java.lang.String params)
handleDATA
in interface LmtpRequestHandler
public void handleDataBuffer(org.vertx.java.core.buffer.Buffer ori)
handleDataBuffer
in interface LmtpRequestHandler
protected java.lang.String getAdditionalHeaders()
public void handleResponse(LmtpResponse resp)
handleResponse
in interface LmtpResponseHandler
Copyright © 2021. All Rights Reserved.