public class ConnectionCompletionVo extends Object
Constructor and Description |
---|
ConnectionCompletionVo() |
ConnectionCompletionVo(ClientChannelContext channelContext,
TioClient tioClient,
boolean isReconnect,
AsynchronousSocketChannel asynchronousSocketChannel,
Node serverNode,
String bindIp,
Integer bindPort) |
Modifier and Type | Method and Description |
---|---|
AsynchronousSocketChannel |
getAsynchronousSocketChannel() |
String |
getBindIp() |
Integer |
getBindPort() |
ClientChannelContext |
getChannelContext() |
CountDownLatch |
getCountDownLatch() |
Node |
getServerNode() |
TioClient |
getTioClient() |
boolean |
isReconnect() |
void |
setAsynchronousSocketChannel(AsynchronousSocketChannel asynchronousSocketChannel) |
void |
setBindIp(String bindIp) |
void |
setBindPort(Integer bindPort) |
void |
setChannelContext(ClientChannelContext channelContext) |
void |
setCountDownLatch(CountDownLatch countDownLatch) |
void |
setReconnect(boolean isReconnect) |
void |
setServerNode(Node serverNode) |
void |
setTioClient(TioClient tioClient) |
public ConnectionCompletionVo()
public ConnectionCompletionVo(ClientChannelContext channelContext, TioClient tioClient, boolean isReconnect, AsynchronousSocketChannel asynchronousSocketChannel, Node serverNode, String bindIp, Integer bindPort)
channelContext
- tioClient
- isReconnect
- asynchronousSocketChannel
- serverNode
- bindIp
- bindPort
- public TioClient getTioClient()
public AsynchronousSocketChannel getAsynchronousSocketChannel()
public String getBindIp()
public Integer getBindPort()
public ClientChannelContext getChannelContext()
public CountDownLatch getCountDownLatch()
public Node getServerNode()
public boolean isReconnect()
public void setTioClient(TioClient tioClient)
tioClient
- the tioClient to setpublic void setAsynchronousSocketChannel(AsynchronousSocketChannel asynchronousSocketChannel)
asynchronousSocketChannel
- the asynchronousSocketChannel to setpublic void setBindIp(String bindIp)
bindIp
- the bindIp to setpublic void setBindPort(Integer bindPort)
bindPort
- the bindPort to setpublic void setChannelContext(ClientChannelContext channelContext)
channelContext
- the channelContext to setpublic void setCountDownLatch(CountDownLatch countDownLatch)
countDownLatch
- the countDownLatch to setpublic void setReconnect(boolean isReconnect)
isReconnect
- the isReconnect to setpublic void setServerNode(Node serverNode)
serverNode
- the serverNode to setCopyright © 2021. All rights reserved.