public class TcpConnection extends Object
| Modifier and Type | Field and Description |
|---|---|
protected io.vertx.core.Context |
context |
protected io.vertx.core.net.NetSocket |
netSocket |
protected String |
protocol |
protected String |
zipName |
| Constructor and Description |
|---|
TcpConnection() |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.net.NetSocket |
getNetSocket() |
String |
getProtocol() |
String |
getZipName() |
void |
initNetSocket(io.vertx.core.net.impl.NetSocketImpl netSocket) |
protected void |
scheduleWrite() |
void |
setContext(io.vertx.core.Context context) |
void |
setProtocol(String protocol) |
void |
setZipName(String zipName) |
void |
write(io.netty.buffer.ByteBuf buf) |
protected void |
writeInContext() |
protected String protocol
protected String zipName
protected io.vertx.core.net.NetSocket netSocket
protected io.vertx.core.Context context
public String getProtocol()
public void setProtocol(String protocol)
public String getZipName()
public void setZipName(String zipName)
public void setContext(io.vertx.core.Context context)
public io.vertx.core.net.NetSocket getNetSocket()
public void initNetSocket(io.vertx.core.net.impl.NetSocketImpl netSocket)
public void write(io.netty.buffer.ByteBuf buf)
protected void scheduleWrite()
protected void writeInContext()
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.