public class Session extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
EnumSet<CapabilityFlags> |
getBackendCapabilities() |
io.netty.channel.Channel |
getBackendChannel() |
MysqlCharacterSet |
getClientCharset() |
Integer |
getConnectionId() |
EnumSet<CapabilityFlags> |
getFrontendCapabilities() |
io.netty.channel.Channel |
getFrontendChannel() |
String |
getId() |
MysqlCharacterSet |
getServerCharset() |
static Session |
getSession(io.netty.channel.Channel channel) |
void |
setBackendCapabilities(Set<CapabilityFlags> capabilities) |
void |
setBackendChannel(io.netty.channel.Channel backendChannel) |
void |
setClientCharsetAttr(MysqlCharacterSet characterSet) |
void |
setConnectionId(int connectionId) |
void |
setFrontendCapabilities(Set<CapabilityFlags> capabilities) |
void |
setFrontendChannel(io.netty.channel.Channel frontendChannel) |
void |
setServerCharsetAttr(MysqlCharacterSet characterSet) |
String |
toString() |
public Session()
public Session(String id)
public String getId()
public EnumSet<CapabilityFlags> getFrontendCapabilities()
public EnumSet<CapabilityFlags> getBackendCapabilities()
public void setBackendCapabilities(Set<CapabilityFlags> capabilities)
public void setFrontendCapabilities(Set<CapabilityFlags> capabilities)
public void setClientCharsetAttr(MysqlCharacterSet characterSet)
public void setServerCharsetAttr(MysqlCharacterSet characterSet)
public MysqlCharacterSet getServerCharset()
public MysqlCharacterSet getClientCharset()
public Integer getConnectionId()
public static Session getSession(io.netty.channel.Channel channel)
public void setConnectionId(int connectionId)
public void setFrontendChannel(io.netty.channel.Channel frontendChannel)
public void setBackendChannel(io.netty.channel.Channel backendChannel)
public io.netty.channel.Channel getBackendChannel()
public io.netty.channel.Channel getFrontendChannel()
Copyright © 2021. All rights reserved.