com.iteaj.iot.client.component.TcpClientComponent Maven / Gradle / Ivy
package com.iteaj.iot.client.component;
import com.iteaj.iot.client.ClientConnectProperties;
import com.iteaj.iot.client.ClientMessage;
import com.iteaj.iot.client.MultiClientManager;
import com.iteaj.iot.client.TcpSocketClient;
import io.netty.buffer.ByteBuf;
public abstract class TcpClientComponent extends SocketClientComponent {
public TcpClientComponent() { }
/**
* @param config 默认客户端配置
*/
public TcpClientComponent(ClientConnectProperties config) {
super(config);
}
public TcpClientComponent(ClientConnectProperties config, MultiClientManager clientManager) {
super(config, clientManager);
}
@Override
public abstract TcpSocketClient createNewClient(ClientConnectProperties config);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy