com.iteaj.iot.client.codec.ByteToMessageDecoderClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot-client Show documentation
Show all versions of iot-client Show documentation
基于netty的tcp, http, udp等协议的客户端
The newest version!
package com.iteaj.iot.client.codec;
import com.iteaj.iot.client.ClientConnectProperties;
import com.iteaj.iot.client.TcpSocketClient;
import com.iteaj.iot.client.component.TcpClientComponent;
import com.iteaj.iot.codec.adapter.ByteToMessageDecoderAdapter;
public class ByteToMessageDecoderClient extends TcpSocketClient {
public ByteToMessageDecoderClient(TcpClientComponent clientComponent, ClientConnectProperties config) {
super(clientComponent, config);
}
@Override
protected ByteToMessageDecoderAdapter createProtocolDecoder() {
return new ByteToMessageDecoderAdapter(this.getClientComponent());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy