public class TcpClientConnection extends TcpConnection
context, netSocket, protocol, zipName| Constructor and Description |
|---|
TcpClientConnection(io.vertx.core.Context context,
NetClientWrapper netClientWrapper,
String strEndpoint) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkTimeout() |
protected void |
clearCachedRequest(Throwable cause) |
protected void |
connect() |
protected TcpOutputStream |
createLogin() |
TcpClientConfig |
getClientConfig() |
boolean |
isLocalSupportLogin() |
protected boolean |
onLoginResponse(io.vertx.core.buffer.Buffer bodyBuffer) |
protected void |
onReply(long msgId,
io.vertx.core.buffer.Buffer headerBuffer,
io.vertx.core.buffer.Buffer bodyBuffer) |
CompletableFuture<TcpData> |
send(AbstractTcpClientPackage tcpClientPackage) |
void |
send(AbstractTcpClientPackage tcpClientPackage,
TcpResponseCallback callback) |
void |
setLocalSupportLogin(boolean localSupportLogin) |
protected void |
tryLogin() |
protected void |
writeInContext() |
getNetSocket, getProtocol, getZipName, initNetSocket, scheduleWrite, setContext, setProtocol, setZipName, writepublic TcpClientConnection(io.vertx.core.Context context,
NetClientWrapper netClientWrapper,
String strEndpoint)
public boolean isLocalSupportLogin()
public TcpClientConfig getClientConfig()
public void setLocalSupportLogin(boolean localSupportLogin)
protected TcpOutputStream createLogin()
protected boolean onLoginResponse(io.vertx.core.buffer.Buffer bodyBuffer)
public CompletableFuture<TcpData> send(AbstractTcpClientPackage tcpClientPackage)
public void send(AbstractTcpClientPackage tcpClientPackage, TcpResponseCallback callback)
protected void writeInContext()
writeInContext in class TcpConnectionprotected void connect()
protected void tryLogin()
protected void clearCachedRequest(Throwable cause)
protected void onReply(long msgId,
io.vertx.core.buffer.Buffer headerBuffer,
io.vertx.core.buffer.Buffer bodyBuffer)
public void checkTimeout()
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.