public class ImSessionContext extends SessionContext
Constructor and Description |
---|
ImSessionContext() |
Modifier and Type | Method and Description |
---|---|
Client |
getClient() |
org.tio.server.intf.ServerAioHandler |
getProtocolHandler() |
org.tio.monitor.RateLimiterWrap |
getRequestRateLimiter() |
String |
getToken() |
void |
setClient(Client client) |
ImSessionContext |
setProtocolHandler(org.tio.server.intf.ServerAioHandler protocolHandler) |
void |
setRequestRateLimiter(org.tio.monitor.RateLimiterWrap requestRateLimiter) |
void |
setToken(String token) |
getId, setId
public Client getClient()
public void setClient(Client client)
client
- the client to setpublic String getToken()
public void setToken(String token)
token
- the token to setpublic org.tio.monitor.RateLimiterWrap getRequestRateLimiter()
public void setRequestRateLimiter(org.tio.monitor.RateLimiterWrap requestRateLimiter)
requestRateLimiter
- the requestRateLimiter to setpublic org.tio.server.intf.ServerAioHandler getProtocolHandler()
public ImSessionContext setProtocolHandler(org.tio.server.intf.ServerAioHandler protocolHandler)
Copyright © 2018. All rights reserved.